From: Dmitry Gutov <dgutov@yandex.ru>
To: Tom Tromey <tom@tromey.com>, 25861@debbugs.gnu.org
Subject: bug#25861: 25.1.91; error from js-mode indentation function
Date: Fri, 24 Feb 2017 18:37:22 +0200 [thread overview]
Message-ID: <6683c18f-0900-731c-acf3-b1bf7eaf7e47@yandex.ru> (raw)
In-Reply-To: <871sunwrru.fsf@tromey.com>
On 24.02.2017 17:08, Tom Tromey wrote:
> While working on some JS code I noticed that when writing a certain
> file, I got a "scan-error" when I typed TAB. I tracked this down to a
> buglet in js--indent-in-array-comp.
>
> This patch fixes the problem by wrapping the call to forward-sexp there
> in a condition-case. I've added a new test case as well.
Looks good, thanks. I guess we didn't notice it until now because most
people use some kind of auto-pairing solution, like electric-pair-mode.
next prev parent reply other threads:[~2017-02-24 16:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-24 15:08 bug#25861: 25.1.91; error from js-mode indentation function Tom Tromey
2017-02-24 16:37 ` Dmitry Gutov [this message]
2017-02-25 3:36 ` bug#25861: done Tom Tromey
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6683c18f-0900-731c-acf3-b1bf7eaf7e47@yandex.ru \
--to=dgutov@yandex.ru \
--cc=25861@debbugs.gnu.org \
--cc=tom@tromey.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).