unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stefan Monnier" <monnier+gnu.emacs.bug/news/@RUM.cs.yale.edu>
Subject: Re: sgml-mode skip tag forward/back bug fix
Date: 26 Apr 2002 14:19:59 -0400	[thread overview]
Message-ID: <5lit6egw4w.fsf@rum.cs.yale.edu> (raw)
In-Reply-To: E0DD84E4C306394C8C897D3ED9BB17E11B4B81@aisexch.ausinfo.com

>>>>> "Mallory," == Mallory, Rich <Rich.Mallory@ausinfo.com> 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  <mallory@ausinfo.com>
> 	* 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).


    Stefan

      reply	other threads:[~2002-04-26 18:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-26 17:42 sgml-mode skip tag forward/back bug fix Mallory, Rich
2002-04-26 18:19 ` Stefan Monnier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5lit6egw4w.fsf@rum.cs.yale.edu \
    --to=monnier+gnu.emacs.bug/news/@rum.cs.yale.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).