[Top][All Lists]

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

bug#20915: 25.0.50; [js-mode] electric annoyances

From: Dmitry Gutov
Subject: bug#20915: 25.0.50; [js-mode] electric annoyances
Date: Mon, 29 Jun 2015 11:33:48 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0

On 06/29/2015 04:12 AM, Stefan Monnier wrote:

plot.scale.y = d3.scale.ordinal()
     .rangeRoundBands([plot.height, 0
                     ], 0.1);

electric-indent-mode presumes indentation works correctly.  In this
case, I think we clearly have an indentation bug (can someone imagine
a sane programmer who'd want the above indentation?), so the thing to do
is to fix the indentation code.

Not an indentation bug. The user manually indented the second line, hence the misalignment.

reply via email to

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