emacs-devel
[Top][All Lists]
Advanced

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

Re: Current mode command discovery


From: Lars Ingebrigtsen
Subject: Re: Current mode command discovery
Date: Sun, 21 Feb 2021 16:44:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>>             ;; because "M-x" is a well-known prompt to read a command
>>             ;; and it serves as a shorthand for "Extended command: ".
>>             "M-x ")
>> 
>> in `read-extended-command'.  Hm.  Anybody got an opinion on what the
>> best fix here would be?  The obvious fix is to do what the comment says,
>> which would also make this be more consistent if the user has rebound
>> the command.
>
> Or you could kludge it by looking at the modifiers.

It's possible, but that's certainly adding one kludge on top of another.
Are there any drawbacks to just using (key-description
(this-single-command-keys)) here and normalising this command in this
regard?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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