GNU bug report logs - #13025
24.2.90; sgml-electric-tag-pair-mode broken

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Thu, 29 Nov 2012 03:19:01 UTC

Severity: normal

Found in version 24.2.90

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Chong Yidong <cyd <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#13025: closed (24.2.90; sgml-electric-tag-pair-mode broken)
Date: Fri, 07 Dec 2012 16:27:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 08 Dec 2012 00:25:59 +0800
with message-id <87sj7hde20.fsf <at> gnu.org>
and subject line Re: bug#13025: 24.2.90; sgml-electric-tag-pair-mode broken
has caused the debbugs.gnu.org bug report #13025,
regarding 24.2.90; sgml-electric-tag-pair-mode broken
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
13025: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13025
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Leo <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.2.90; sgml-electric-tag-pair-mode broken
Date: Thu, 29 Nov 2012 11:16:41 +0800
Turn on sgml-electric-tag-pair-mode in html mode and try to modify a
nonvoid tag such as 'title' or 'body'.

If you delete the opening tag (the thing inside <>) using kill-word or
backward-kill-word, nothing happens to the closing tag.

If you delete the tag one char at a time, the closing tag stops at the
last char, so you end up with a pair such as <></y>, now if you
re-insert a tag that doesn't start with 'y', nothing happens to the
closing tag.

The above behaviour is consistent since the feature was added, i.e. it
happens in 23, 24.2 and 24.2.90.

Leo


[Message part 3 (message/rfc822, inline)]
From: Chong Yidong <cyd <at> gnu.org>
To: Leo <sdl.web <at> gmail.com>
Cc: 13025-done <at> debbugs.gnu.org
Subject: Re: bug#13025: 24.2.90; sgml-electric-tag-pair-mode broken
Date: Sat, 08 Dec 2012 00:25:59 +0800
Leo <sdl.web <at> gmail.com> writes:

> Turn on sgml-electric-tag-pair-mode in html mode and try to modify a
> nonvoid tag such as 'title' or 'body'.
>
> If you delete the opening tag (the thing inside <>) using kill-word or
> backward-kill-word, nothing happens to the closing tag.

Fixed in trunk, thanks.


This bug report was last modified 12 years and 169 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.