[Top][All Lists]

[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

> (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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]