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

From: Dmitry Gutov <[email-masked]>
Date: Mon, 29 Jun 2015 11:33:48 +0300

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

>> plot.scale.y = d3.scale.ordinal()
>>                         .domain(bar.ybins)
>>      .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.