[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sgml-mode skip tag forward/back bug fix

From: Stefan Monnier
Subject: Re: sgml-mode skip tag forward/back bug fix
Date: 26 Apr 2002 14:19:59 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50

>>>>> "Mallory," == Mallory, Rich <address@hidden> writes:
> In editing an XML file in sgml-mode, the commands sgml-skip-tag-forward and
> sgml-skip-tag-backward failed as follows.  When an outer element contained an
> inner element and the inner element's tag name began with the outer element's
> tag name but was longer, these commands did not skip the whole outer element,
> from start tag to end tag (or back), but only part of it.

Note that the sgml-mode.el has been changed in the CVS repository to better
support XML, so you might want to try it out.
See http://savannah.gnu.org/projects/emacs.

> 2002-04-26  Rich Mallory  <address@hidden>
>       * lisp/textmodes/sgml-mode.el (sgml-skip-tag-backward, 
> sgml-skip-tag-forward):
>       Fix bug where an outer element containing an inner element whose name
>       began with the outer name (e.g., <foo> ... <fooBar ... /> ... </foo>)
>       was not properly skipped.

Thank you.  I'll see if it has been fixed already.
BTW, it is generally preferable to use `diff -u' or `diff -c' when sending
diffs (and not only for Emacs maintainers).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]