emacs-devel
[Top][All Lists]
Advanced

[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:07:12 +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:
>
>> OK, that's fewer than I thought.  So, new random thought:
>>
>> kbd-keymap
>> kbd-define

That's perhaps confusing.  Perhaps

define-kbdmap
define-kbd

but I guess there's something attractive about having them all with the
same prefix...

Er...

kdb-define-keymap
kbd-define-key

Hm...

>> kbd-set-globally
>> kbd-unset-globally
>> kbd-set-locally
>> kbd-unset-locally
>> kbd-lookup

[...]

> AFAICT, this approach has one important advantage that none of the
> others have: it frees us from most of the legacy stuff in one go,
> while still allowing us to leave the legacy interface as-is.

Yup.  And having "kbd" in the name should make it all less confusing,
perhaps, and we could (eventually) use the normal deprecation procedures
for the old functions.

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