Subject: Re: bug#43941: HTML+ mode: dangerous apostrophe after fullwidth parenthesis

From: Stephen Berman <[email-masked]>
Date: Mon, 12 Oct 2020 17:11:01 +0200

On Mon, 12 Oct 2020 17:48:52 +0300 Eli Zaretskii <[email-masked]> wrote:

>> From: 積丹尼 Dan Jacobson
>>  <[email-masked]>
>> Date: Sun, 11 Oct 2020 22:30:16 +0800
>> 
>> $ emacs -q x.html # emacs-version "26.3"
>> The humble APOSTROPHE becomes a color change point, due to having a
>> FULLWIDTH LEFT PARENTHESIS before it.
>
> I don't think it has anything to do with FULLWIDTH LEFT PARENTHESIS, I
> think the apostrophe invokes the string face here.

But the face does not change if `(' is used instead of `（', e.g. copy
the following two lines into a buffer and type `M-x html-mode' (or `M-x
mhtml-mode', the face change appears in both):

<p>('s</p>
<p>（'s</p>

Steve Berman