GNU bug report logs - #22063
25.0.50; js-mode, incorrect indentation of functions with keyword names

Previous Next

Package: emacs;

Reported by: Jordon Biondo <jordon.biondo <at> appropos.com>

Date: Mon, 30 Nov 2015 19:50:02 UTC

Severity: normal

Found in version 25.0.50

Fixed in version 25.1

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 22063-done <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Jordon Biondo <jordon.biondo <at> appropos.com>, 22063-done <at> debbugs.gnu.org
Subject: Re: bug#22063: 25.0.50; js-mode, incorrect indentation of functions
 with keyword names
Date: Tue, 1 Dec 2015 05:42:41 +0200
Version: 25.1

On 11/30/2015 09:00 PM, Jordon Biondo wrote:

> This is caused by the function being named `catch` which the current
> indentation support falsely assumes is the catch keyword. If you were to
> change the code from `.catch` to `.catch2` it would indent correctly.
> This problem is not limited to only the `catch` keyword.

Thanks for the report; should be fixed now in emacs-25 with 48471e9.





This bug report was last modified 9 years and 178 days ago.

Previous Next


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