[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20915: 25.0.50; [js-mode] electric annoyances
From: |
Stefan Monnier |
Subject: |
bug#20915: 25.0.50; [js-mode] electric annoyances |
Date: |
Mon, 29 Jun 2015 09:18:03 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
>> plot.scale.y = d3.scale.ordinal()
>> .domain(bar.ybins)
>> .rangeRoundBands([plot.height, 0
>> ], 0.1);
> Not an indentation bug. The user manually indented the second line, hence
> the misalignment.
FWIW, given the first two lines, the third line's indentation is wrong.
Whether the first two lines where auto-indented or manually indented
does not matter in this regard (IMNSHO).
Stefan
PS: Actually, I think that the indentation code should probably be able
to decide how to indent by only looking at the immediately preceding
line, in this case.
- bug#20915: 25.0.50; [js-mode] electric annoyances, (continued)
- bug#20915: 25.0.50; [js-mode] electric annoyances, Eli Zaretskii, 2015/06/28
- bug#20915: 25.0.50; [js-mode] electric annoyances, Dmitry Gutov, 2015/06/28
- bug#20915: 25.0.50; [js-mode] electric annoyances, Eli Zaretskii, 2015/06/28
- bug#20915: 25.0.50; [js-mode] electric annoyances, Dmitry Gutov, 2015/06/28
- bug#20915: 25.0.50; [js-mode] electric annoyances, Eli Zaretskii, 2015/06/28
bug#20915: 25.0.50; [js-mode] electric annoyances, Stefan Monnier, 2015/06/28
bug#20915: 25.0.50; [js-mode] electric annoyances, Dmitry Gutov, 2015/06/29