[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#37183: 26.2 Never for Tab-Always-Indent
From: |
Lars Ingebrigtsen |
Subject: |
bug#37183: 26.2 Never for Tab-Always-Indent |
Date: |
Sat, 05 Sep 2020 14:48:32 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Kangas <stefan@marxist.se> writes:
>> I think that might make sense... On the other hand, you can just
>> globally set the TAB key to insert a TAB character, so I'm not quite
>> sure whether it's very useful.
>>
>> Does anybody have an opinion here?
>
> (How would you set it globally? If you use `global-set-key' any local
> bindings would shadow it, right?)
I was thinking about setting TAB in `overriding-terminal-local-map'...
(I've never used that map myself, though, so I may be misunderstanding
how that variable works.)
> FWIW, I think the option makes sense, with or without the ability to set
> it in another way. It's a logical addition and could make things easier
> for users.
Yeah, it is pretty logical addition. The main problem with doing
something like this is that there's a bunch of other similar variables,
like c-tab-always-indent/snmp-tab-always-indent/opascal-tab-always-indents
(and seemingly an infinite number for some reason), and for consistency,
we'd have to allow `never' for all of these (and change all the usage
sites).
I'm not sure that's worth it if there is a simple way of binding TAB.
We could just mention that in the doc string of `tab-always-indent'.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no