GNU bug report logs - #66511
JavaScript Mode: wrong face for variable declaration

Previous Next

Package: emacs;

Reported by: Shynur Xie <one.last.kiss <at> outlook.com>

Date: Fri, 13 Oct 2023 05:23:01 UTC

Severity: normal

Full log


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

From: Shynur Xie <one.last.kiss <at> outlook.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: JavaScript Mode: wrong face for variable declaration
Date: Fri, 13 Oct 2023 05:16:50 +0000
Reproduce:

1. $ emacs -Q
2. M-x js-mode
3. Insert "var a, b;"
                  ^ correct face
4. Add a newline between ',' and 'b'

Now the buffer content is:

    var a,
        b;

the face of 'b' is wrong.

Emacs-v29.1 on MS-Windows



This bug report was last modified 1 year and 247 days ago.

Previous Next


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