[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: |
Stefan Monnier |
Subject: |
bug#16116: 24.3.50; smie-indent-close aligns inner closing paren with the outer opening paren |
Date: |
Sat, 14 Dec 2013 10:32:43 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> Unless you're suggesting to change either of those points.
That's exactly what I'm suggesting, yes.
> I thought rather to add a defvar to switch between the two behaviors in
> smie-indent-close,
That could be acceptable, tho so far all the indentation is controlled
by the rules-function, so it makes sense to keep it that way rather than
to introduce a variable. Also, if it's done in the rules-function, the
function may return different results depending on context.
> or make smie-indent-functions buffer-local and replace
> smie-indent-close there with a modified implementation.
This approach would work if the requirement is very specific to one
particular major mode, but in this case, it seems to be a fairly
common one.
Stefan
- 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, 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 <=
- 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