|
From: | Gregory Heytings |
Subject: | Re: Moving kbd to subr.el |
Date: | Mon, 18 Oct 2021 13:07:03 +0000 |
Why does kbd generate the leading backslash, though?Because it's the way Emacs uses to disambiguate symbols that could be understood as something else:(defun \0 () (interactive) (message "zero")) M-x 0 RETIn the context of key sequences, it will be mighty confusing, I think.
Yes, but as discussed "123" is not a valid event symbol name anyway. I think it's more a side effect of the general disambiguation mechanism used by Emacs than something that kbd does on purpose.
[Prev in Thread] | Current Thread | [Next in Thread] |