GNU bug report logs - #8203
sgml-delete-tag bug

Previous Next

Package: emacs;

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


View this message in rfc822 format

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Cc: bug-gnu-emacs <at> gnu.org
Subject: bug#8203: sgml-delete-tag bug
Date: Tue, 08 Mar 2011 16:16:47 -0500
> 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?

Why would you think so?  I'd rather say that the error is that ' in
html-mode buffers should not have prefix syntax.


        Stefan




This bug report was last modified 6 years and 14 days ago.

Previous Next


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