emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The new keymap functions


From: Phil Sainty
Subject: Re: The new keymap functions
Date: Sun, 14 Nov 2021 18:05:51 +1300
User-agent: Orcon Webmail

On 2021-11-13 19:56, Lars Ingebrigtsen wrote:
The most difficult thing here is naming, of course, but after
much discussion, I've settled on these:

keymap-set
keymap-local-set
keymap-global-set
keymap-unset
keymap-local-unset
keymap-global-unset


Any particular argument against putting the global/local last?

keymap-set
keymap-set-local
keymap-set-global
keymap-unset
keymap-unset-local
keymap-unset-global

I haven't pondered it enough to be opinionated, but I feel like
there's some benefits to having common naming prefixes regardless
of the keymap component.  I suspect you already considered this,
and chose to go the other way?


-Phil




reply via email to

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