GNU bug report logs - #46416
27.1; syntax-propertize fails in mhtml-mode

Previous Next

Package: emacs;

Reported by: Leo Liu <sdl.web <at> gmail.com>

Date: Wed, 10 Feb 2021 01:42:02 UTC

Severity: normal

Found in version 27.1

Full log


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

From: Leo Liu <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.1; syntax-propertize fails in mhtml-mode
Date: Wed, 10 Feb 2021 09:40:55 +0800
[Message part 1 (text/plain, inline)]
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.

[test.el (application/emacs-lisp, attachment)]

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.