GNU bug report logs -
#46416
27.1; syntax-propertize fails in mhtml-mode
Previous Next
Full log
View this message in rfc822 format
On 10.02.2021 03:40, Leo Liu wrote:
> 1. emacs -q -l test.el
> 2. Create a new buffer in mhtml-mode
> 3. Add the following two lines:
>
> %%var1%%
> "%%var2%%"
>
> 4. Inspect the syntax of the % char (C-u C-x =) on both lines
>
> % in double quotes has word syntax which seems unexpected.
>
> If we do something similar in Emacs 26 both % chars have punctuation
> syntax.
I can't seem to be able to reproduce your scenario in Emacs 28 (in fact,
I get %var1 and %var2 highlighted as variables), but it might be related
to the
"\\([\"']\\)[^\"'<>]*"
rule in sgml-syntax-propertize-rules.
If you could double-check the expected and actual behaviors in the
current master, though, that would be great.
This bug report was last modified 3 years and 54 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.