bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#22063: 25.0.50; js-mode, incorrect indentation of functions with key


From: Dmitry Gutov
Subject: bug#22063: 25.0.50; js-mode, incorrect indentation of functions with keyword names
Date: Tue, 1 Dec 2015 05:42:41 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0

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.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]