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

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

bug#16116: 24.3.50; smie-indent-close aligns inner closing paren with th


From: Steve Purcell
Subject: bug#16116: 24.3.50; smie-indent-close aligns inner closing paren with the outer opening paren
Date: Sat, 14 Dec 2013 08:23:18 +0000

I agree strongly with Dmitry here. Column zero is fine if the paren is on its 
own, but if there are any preceding characters on the line which have a 
different logical indent level, as is the case with “]” here, the indentation 
for those should dominate.

As another example, in the case of javascript, there’s the idiomatic function 
case:

   something(function() {
      … blah
   });

and I don’t think this is inconsistent with the above: unindenting the “}” 
relative to the function body will have the right effect without even needing 
to consider the “)”.

-Steve




reply via email to

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