From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: 24854@debbugs.gnu.org
Subject: bug#24854: 25.1; indent error with regexp
Date: Wed, 16 Nov 2016 08:45:05 +0100 [thread overview]
Message-ID: <3c42668f-1f9d-5d50-07d8-9afba653f03c@easy-emacs.de> (raw)
In-Reply-To: <f6183ddc-3bef-e73e-5bc9-08e2ffe4cb19@yandex.ru>
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.
next prev parent reply other threads:[~2016-11-16 7:45 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-01 23:30 bug#24854: 25.1; indent error with regexp James Yang
2016-11-08 10:06 ` Andreas Röhler
2016-11-09 0:35 ` npostavs
2016-11-09 6:37 ` Andreas Röhler
2016-11-15 0:04 ` Dmitry Gutov
2016-11-16 7:45 ` Andreas Röhler [this message]
2016-11-16 16:24 ` Eli Zaretskii
2016-11-16 16:39 ` Andreas Röhler
2016-11-16 16:22 ` Eli Zaretskii
2016-11-17 0:07 ` Dmitry Gutov
2016-11-17 3:41 ` Eli Zaretskii
2016-11-17 11:31 ` Andreas Röhler
2016-11-17 16:08 ` Eli Zaretskii
2016-11-18 0:13 ` Dmitry Gutov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3c42668f-1f9d-5d50-07d8-9afba653f03c@easy-emacs.de \
--to=andreas.roehler@easy-emacs.de \
--cc=24854@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.