[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
- bug#16116: 24.3.50; smie-indent-close aligns inner closing paren with the outer opening paren, Dmitry Gutov, 2013/12/11
- bug#16116: 24.3.50; smie-indent-close aligns inner closing paren with the outer opening paren, Stefan Monnier, 2013/12/12
- bug#16116: 24.3.50; smie-indent-close aligns inner closing paren with the outer opening paren,
Steve Purcell <=
- bug#16116: 24.3.50; smie-indent-close aligns inner closing paren with the outer opening paren, Stefan Monnier, 2013/12/14
- bug#16116: 24.3.50; smie-indent-close aligns inner closing paren with the outer opening paren, Dmitry Gutov, 2013/12/14
- bug#16116: 24.3.50; smie-indent-close aligns inner closing paren with the outer opening paren, Stefan Monnier, 2013/12/14
- bug#16116: 24.3.50; smie-indent-close aligns inner closing paren with the outer opening paren, Dmitry Gutov, 2013/12/14
- bug#16116: 24.3.50; smie-indent-close aligns inner closing paren with the outer opening paren, Stefan Monnier, 2013/12/14
- bug#16116: 24.3.50; smie-indent-close aligns inner closing paren with the outer opening paren, Dmitry Gutov, 2013/12/14
- bug#16116: 24.3.50; smie-indent-close aligns inner closing paren with the outer opening paren, Stefan Monnier, 2013/12/15
- bug#16116: 24.3.50; smie-indent-close aligns inner closing paren with the outer opening paren, Dmitry Gutov, 2013/12/15
- bug#16116: 24.3.50; smie-indent-close aligns inner closing paren with the outer opening paren, Stefan Monnier, 2013/12/16
- bug#16116: 24.3.50; smie-indent-close aligns inner closing paren with the outer opening paren, Dmitry Gutov, 2013/12/16