GNU bug report logs - #40844
html mode sometimes fooled by apostrophe

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sat, 25 Apr 2020 11:27:02 UTC

Severity: minor

Tags: confirmed, patch

Merged with 43941, 46312

Found in versions 26.3, 27.0.91

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at control <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 40844 <at> debbugs.gnu.org
Subject: Re: bug#40844: html mode sometimes fooled by apostrophe
Date: Sat, 25 Apr 2020 10:09:06 -0400
tags 40844 + confirmed
found 40844 27.0.91
quit

積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

> $ wget https://www.jidanni.org/lang/pinyin/older.html
> $ emacs -q older.html
>
> You will see that by mid-file, emacs has already got confused by
> U+0027 APOSTROPHE
> causing it to turn on and off font-lock-string-face!
> So there is something in this file that causes it to screw up.

Seems to be related to the paren character, here's a smaller
reproducer:

    <!DOCTYPE html>
    <html>
    <body>
     (and counties' names
    </body>
    </html>





This bug report was last modified 3 years and 343 days ago.

Previous Next


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