[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Moving kbd to subr.el
From: |
Lars Ingebrigtsen |
Subject: |
Re: Moving kbd to subr.el |
Date: |
Tue, 19 Oct 2021 16:31:05 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Stefan Kangas <stefan@marxist.se> writes:
> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>> Hm... "key" would also work. It's perhaps more ambiguous, though.
>
> What ambiguity do you see? I end up with something like this:
>
>> key-define-map
>> key-define
>> key-global-set
>> key-global-unset
>> key-local-set
>> key-local-unset
>> key-lookup
The ambiguity is that if you're reading code with define-key and/or
key-define, the function names don't give you a hint about how they
differ.
> (Note that I prefer "global/local" before "set/unset", but the other
> way around is fine too.)
Yeah, -global-set/-global-unset looks good to me.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- RE: [External] : Re: Moving kbd to subr.el, (continued)
- RE: [External] : Re: Moving kbd to subr.el, Drew Adams, 2021/10/19
- Re: Moving kbd to subr.el, Richard Stallman, 2021/10/20
- Re: Moving kbd to subr.el, Richard Stallman, 2021/10/20
- Re: Moving kbd to subr.el, Stefan Monnier, 2021/10/19
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/19
- Re: Moving kbd to subr.el, Stefan Kangas, 2021/10/19
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/19
- Re: Moving kbd to subr.el, Stefan Kangas, 2021/10/19
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/19
- Re: Moving kbd to subr.el, Stefan Kangas, 2021/10/19
- Re: Moving kbd to subr.el,
Lars Ingebrigtsen <=
- Re: Moving kbd to subr.el, Robert Pluim, 2021/10/19
- Re: Moving kbd to subr.el, Andreas Schwab, 2021/10/19
- Re: Moving kbd to subr.el, Stefan Monnier, 2021/10/19
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/19
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/19
- Re: Moving kbd to subr.el, Howard Melman, 2021/10/19
- Re: Moving kbd to subr.el, T.V Raman, 2021/10/19
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/19
- Re: Moving kbd to subr.el, Dmitry Gutov, 2021/10/19
- Re: Moving kbd to subr.el, Richard Stallman, 2021/10/20