GNU bug report logs - #24854
[js-mode] Wrong indentation in line after regexp literal

Previous Next

Package: emacs;

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


Message #9 received at control <at> debbugs.gnu.org (full text, mbox):

From: npostavs <at> users.sourceforge.net
To: control <at> debbugs.gnu.org
Subject: Re: bug#24854: 25.1; indent error with regexp
Date: Sat, 05 Nov 2016 15:43:08 -0400
retitle 24854 [js-mode] Wrong indentation in line after regexp literal
found 24854 23.4
quit

James Yang <jamesyang999 <at> gmail.com> writes:

> Message-ID: <m2h97qok8f.fsf <at> gmail.com>
>
> --text follows this line--
>
>
> 1. Start Emacs with empty new buffer
>
> 2. Enable `js-mode` or `js2-mode`
>
> 3. Insert below js code
>
>
> 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




This bug report was last modified 8 years and 186 days ago.

Previous Next


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