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: Eli Zaretskii
Subject: Re: master 859190f 2/3: Convert some keymaps to defvar-keymap
Date: Thu, 14 Oct 2021 09:48:00 +0300

> Date: Wed, 13 Oct 2021 21:53:40 +0000
> From: Gregory Heytings <gregory@heytings.org>
> Cc: larsi@gnus.org, stefankangas@gmail.com, emacs-devel@gnu.org
> 
> > I understand, but edmacro is not preloaded, and files we do preload, 
> > like bindings.el, call define-key all over the place.  Letting all those 
> > calls fail, albeit silently, would not be useful, not if we want to be 
> > able to use 'kbd' syntax freely in preloaded files.  So I'm not sure I 
> > understand how your proposal will work in practice.
> 
> The question (at least as I understood is) was to make it possible for 
> users (in their init files) and third-party packages to use a more 
> readable syntax for key bindings, without wrapping each key binding in a 
> call to kbd.

No, we wanted ourselves to be able to use that, not just let users do
it in their init files.

> A second step would be to preload edmacro-parse-keys, to make it possible 
> to use the kbd syntax in other preloaded files too.

And that, from my POV, is a main drawback of this proposal: preloading
edmacro will pull in some non-trivial code and support libraries,
which is best avoided.



reply via email to

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