bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#24854: 25.1; indent error with regexp


From: Andreas Röhler
Subject: bug#24854: 25.1; indent error with regexp
Date: Wed, 16 Nov 2016 08:45:05 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.4.0



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.






reply via email to

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