GNU bug report logs -
#8203
sgml-delete-tag bug
Previous Next
Reported by: xahlee <at> gmail.com
Date: Tue, 8 Mar 2011 13:25:03 UTC
Severity: normal
Tags: confirmed, fixed, patch
Merged with 35381
Found in versions 24.5, 25.0.94, 26.2
Fixed in version 26.3
Done: Noam Postavsky <npostavs <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
Am 08.03.2011 12:51, schrieb Xah Lee:
> this seems to be a sure bug.
>
> In html-mode. If you have this:
>
> <p>some'</p>
>
> and your cursor is at the beginning of line, then press C-c C-d
> (sgml-delete-tag), it'll also delete the apostrophe.
>
> This is “GNU Emacs 23.2.1 (i386-mingw-nt6.0.6002) of 2010-05-08 on G41R2F1”
>
>
>
>
Hi,
can confirm this bug.
GNU Emacs 23.2.94.1 (i686-pc-linux-gnu, GTK+ Version 2.18.6) of 2011-02-25
Error is in backward-prefix-chars, ie. in syntax.c AFAIS.
line 2855
while (!char_quoted (pos, pos_byte)
/* Previous statement updates syntax table. */
&& ((c = FETCH_CHAR_AS_MULTIBYTE (pos_byte), SYNTAX (c) == Squote)
|| SYNTAX_PREFIX (c)))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
may that `or' SYNTAX_PREFIX above?
Andreas
This bug report was last modified 6 years and 15 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.