Subject: Re: bug#8203: sgml-delete-tag bug

From: Stefan Monnier <[email-masked]>
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