GNU bug report logs - #26070
26.0.50; js-mode slash insertion bug

Previous Next

Package: emacs;

Reported by: Richard Copley <rcopley <at> gmail.com>

Date: Sun, 12 Mar 2017 10:25:02 UTC

Severity: normal

Found in version 26.0.50

Done: Tom Tromey <tom <at> tromey.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tom Tromey <tom <at> tromey.com>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: Richard Copley <rcopley <at> gmail.com>, 26070 <at> debbugs.gnu.org, Tom Tromey <tom <at> tromey.com>
Subject: bug#26070: 26.0.50; js-mode slash insertion bug
Date: Tue, 14 Mar 2017 12:06:02 +0100
>>>>> "Dmitry" == Dmitry Gutov <dgutov <at> yandex.ru> writes:

>> I think once js-syntax-propertize is called, the regexp should always
>> succeed, so this patch makes the trailing "/" optional.

Dmitry> Does it solve the infloop in the case like:
Dmitry> /x[
Dmitry> as well?

Yes, with the patch I don't get an infloop no matter which way I insert
those characters.

Tom




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

Previous Next


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