emacs-devel
[Top][All Lists]
Advanced

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

Re: master 859190f 2/3: Convert some keymaps to defvar-keymap


From: Lars Ingebrigtsen
Subject: Re: master 859190f 2/3: Convert some keymaps to defvar-keymap
Date: Thu, 14 Oct 2021 23:02:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Stefan Kangas <stefan@marxist.se> writes:

> I imagine that this would be a new function, so in that case it seems to
> me that backwards compatibility is not a concern.  Are you also
> discussing a new function here?

No, it's a new syntax for keys (that would be understood by all
functions that take a key).

> On another note, I find it weird that we can bind keys to menu-items,
> but that is the only way to get at some functionality.  This should
> probably be fixed.

Probably.

> On a third note, why don't we just provide a better interface for
> creating menu items that is not based on pretending that a menu item
> like a key?  Do we need to leak that implementation detail for some
> didactic reason, or something?

easy-menu-define hides all this weirdness, so if we rewrote all the
menus to use that, then we could try not to leak it any more.  But we
can't really remove this old way, either.

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