bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8576: 23.2; js-mode doesn't support multi-line variable declarations


From: Stefan Monnier
Subject: bug#8576: 23.2; js-mode doesn't support multi-line variable declarations
Date: Wed, 15 Feb 2012 13:58:24 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux)

>> Also, the existing highlighting has no ill effects: the
>> second declaration is just interpreted as an assignment, and the worst
>> part is a lack of font-lock-variable-name-face, not syntactic incoherence.
> True, but it's still very irritating to have Emacs indent it incorrectly
> every time you insert/edit such a statement and having to manually fix

Agreed: it's OK for the highlighting to be a bit off, but indentation
is more irritating.  Luckily, we can afford to work harder during
indentation than during highlighting, so it should be fixable.


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]