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

To reply to this bug, email your comments to 66511 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#66511; Package emacs. (Fri, 13 Oct 2023 05:23:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Shynur Xie <one.last.kiss <at> outlook.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 13 Oct 2023 05:23:01 GMT) Full text and rfc822 format available.

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 204 days ago.

Previous Next


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