GNU bug report logs - #20915
25.0.50; [js-mode] electric annoyances

Previous Next

Package: emacs;

Reported by: Rasmus <rasmus <at> gmx.us>

Date: Sun, 28 Jun 2015 11:47:02 UTC

Severity: minor

Found in version 25.0.50

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 20915 <at> debbugs.gnu.org, Rasmus <rasmus <at> gmx.us>
Subject: bug#20915: 25.0.50; [js-mode] electric annoyances
Date: Mon, 29 Jun 2015 09:18:03 -0400
>> 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.




This bug report was last modified 10 years and 45 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.