bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59305: 29.0.50; keymap-global-set handling of string bindings differ


From: Robert Pluim
Subject: bug#59305: 29.0.50; keymap-global-set handling of string bindings different from global-set-key
Date: Thu, 15 Dec 2022 09:42:46 +0100

>>>>> On Fri, 25 Nov 2022 00:25:34 -0800, Stefan Kangas 
>>>>> <stefankangas@gmail.com> said:

    Stefan> AFAIU, because otherwise we can't have error handling for common 
typos,
    Stefan> such as:

    Stefan>     (keymap-global-set "xo") ; bad, I actually want "x o"

    Stefan> I think catching this is more important than supporting the somewhat
    Stefan> nicer syntax for inserting strings with a key binding (which you can
    Stefan> still do by other means, as you point out).

Then perhaps we should just change the docstrings and manual to
explain that binding a key to a string of characters should use
`kmacro' (since `kbd' is not the right thing for ASCII-only entry)

Robert
-- 





reply via email to

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