From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.bugs Subject: Re: sgml-mode skip tag forward/back bug fix Date: 26 Apr 2002 14:19:59 -0400 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <5lit6egw4w.fsf@rum.cs.yale.edu> References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1019880362 22278 127.0.0.1 (27 Apr 2002 04:06:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 27 Apr 2002 04:06:02 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 171JTG-0005nD-00 for ; Sat, 27 Apr 2002 06:06:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 171JTN-0004tD-00; Sat, 27 Apr 2002 00:06:09 -0400 Original-Received: from delysid.gnu.org ([158.121.106.20]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 171JJF-0003xv-00; Fri, 26 Apr 2002 23:55:41 -0400 Original-Received: from dimail.epfl.ch ([128.178.79.31]) by delysid.gnu.org with esmtp (Exim 3.34 #2) id 171I23-0006nD-00 for ; Fri, 26 Apr 2002 22:33:51 -0400 Original-Received: from dinews.epfl.ch (news@disunds1 [128.178.79.23]) by dimail.epfl.ch (8.8.X/EPFL-8.1g) with SMTP id EAA16009 for ; Sat, 27 Apr 2002 04:33:49 +0200 (MET DST) Original-To: gnu-emacs-bug@gnu.org Original-Newsgroups: gnu.emacs.bug Original-Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 X-Original-NNTP-Posting-Host: rum.cs.yale.edu X-Original-Trace: 26 Apr 2002 14:20:00 -0400, rum.cs.yale.edu Original-Path: rum.cs.yale.edu!rum.cs.yale.edu Original-NNTP-Posting-Host: liasun13.epfl.ch X-Original-NNTP-Posting-Host: liasun13.epfl.ch Original-X-Trace: 27 Apr 2002 04:33:46 +0100, liasun13.epfl.ch Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:979 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:979 >>>>> "Mallory," == Mallory, Rich 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 > * 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., ... ... ) > 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