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: Stefan Monnier
Subject: Re: Moving kbd to subr.el
Date: Mon, 18 Oct 2021 12:33:44 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Lars Ingebrigtsen [2021-10-18 17:58:23] wrote:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> Indeed, it seems if the plan is to promote the `kbd` syntax (which
>> seems to be what we're doing, both by making `kbd` usable in preloaded
>> code, or by adding the ["..."] alternative syntax for it), then it makes
>> sense for `define-keymap` to interpret all strings as `kbd` syntax
>> (i.e. not support the old string syntax at all).
> We could indeed, but I don't want to have different syntaxes in
> different functions.  It'd suck if you can't lift a key definition from
> `define-keymap' and use it in `local-set-key'.

Then I suggest not to support strings at all in `define-keymap`.
The old string syntax for keys just sucks and we should work towards
its reduction, even if it will stay with us for the foreseeable future.

        Stefan




reply via email to

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