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: Felix H. Dahlke
Subject: bug#8576: 23.2; js-mode doesn't support multi-line variable declarations
Date: Tue, 17 Jul 2012 11:51:54 +0200
User-agent: Internet Messaging Program (IMP) 4.3.3

Okay, I'll incorporate Dmitry's fix when I get home then.

Quoting Stefan Monnier <address@hidden>:

const a = 5,
    b = 6;
Yup, that'd be a bug.
Depends, IMO. Do we want to indent on the column, or by the configured
indentation level?

The user already has the choice (without even a config-var) by choosing
between

    const a = 5,
          b = 6;
and
    const
        a = 5,
        b = 6;

Should this be configurable?

I don't think that's needed.

But I'd rather get this patch in in the simple form first, and enhance the
behaviour with another one.

Agreed,


        Stefan




Attachment: pgpYRXCeg0A5O.pgp
Description: PGP Digital Signature


reply via email to

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