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: Gregory Heytings
Subject: Re: master 859190f 2/3: Convert some keymaps to defvar-keymap
Date: Thu, 14 Oct 2021 12:58:01 +0000


The only drawback of the proposal is that those who use for example (define-key some-map "C-" some-command) to mean "bind capital letter C followed by minus" would have to insert a space between "C" and "-" to avoid the ambiguity.

(kbd "f p")
=> "fp"


I'm not sure what you mean, but while trying to understand what you mean I realized that the paragraph above is not correct. The correct version is:

The only drawback of the proposal is that those who use for example (define-key some-map "C-" some-command) to mean "bind capital letter C followed by minus" would have to use a vector instead: (define-key some-map [(C) (-)] some-command). Frankly, I don't see how this minor, and as I've said almost theoretical problem, should force us to create yet another syntax and yet another set of key binding functions.



reply via email to

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