[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: |
Dmitry Gutov |
Subject: |
bug#16116: 24.3.50; smie-indent-close aligns inner closing paren with the outer opening paren |
Date: |
Sat, 14 Dec 2013 17:04:47 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Stefan Monnier <monnier@IRO.UMontreal.CA> writes:
> No need to convince anyone here. I was just pointing out that what is
> right will depend
Sorry, I didn't get that.
> so the right fix is to let the rules-function
> control it, rather than to replace one hard-coded choice with another.
That won't work. ruby-smie-rules is never called because
smie-indent-close doesn't use smie-indent--rule, and it goes before the
functions that do in smie-indent-functions. Unless you're suggesting to
change either of those points.
I thought rather to add a defvar to switch between the two behaviors in
smie-indent-close, or make smie-indent-functions buffer-local and
replace smie-indent-close there with a modified implementation.
Still inclined toward the latter.
- 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 <=
- 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