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: Juri Linkov
Subject: Re: master 859190f 2/3: Convert some keymaps to defvar-keymap
Date: Tue, 12 Oct 2021 22:28:52 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)

> It's confusing because it'd be a different syntax for define-key and
> define-keymap.
>
> If we were redesigning all the Emacs keymap functions from scratch, I'd
> go with the `kbd' syntax for keys, but unfortunately we aren't.

We could add a new keyword to define-keymap, e.g.

  :kbd t

then all strings will use the `kbd' syntax.
Or to use the `kbd' syntax by default, then

  :kbd nil

will disable it.



reply via email to

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