Subject: 24.3.50; smie-indent-close aligns inner closing paren with the outer opening paren

From: Steve Purcell <[email-masked]>
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