GNU bug report logs -
#24854
[js-mode] Wrong indentation in line after regexp literal
Previous Next
Reported by: James Yang <jamesyang999 <at> gmail.com>
Date: Tue, 1 Nov 2016 23:42:02 UTC
Severity: normal
Found in versions 25.1, 23.4
Fixed in version 25.2
Done: Dmitry Gutov <dgutov <at> yandex.ru>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 15.11.2016 01:04, Dmitry Gutov wrote:
> On 02.11.2016 01:30, James Yang wrote:
>
>> var re = /some value/
>>
>> str.match(re)
>>
>>
>> 4. You can see line 2 will have indent, which should not.
>>
>>
>> I also report it to this url:
>> https://github.com/mooz/js2-mode/issues/382
>
> Thanks for the report. The patch is attached.
>
> Eli, would you allow this for 25.2? It's not a regression, but the fix
> is simple.
>
Bug still there with
GNU Emacs 26.0.50.1 (i686-pc-linux-gnu, GTK+ Version 3.14.5) of 2016-11-15
BTW don't see what the patch should help.
It's after an assignment and should keep the indent of previous statement.
This bug report was last modified 8 years and 185 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.