emacs-devel
[Top][All Lists]
Advanced

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

Re: Current mode command discovery


From: Eli Zaretskii
Subject: Re: Current mode command discovery
Date: Sat, 20 Feb 2021 17:11:54 +0200

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: emacs-devel@gnu.org
> Date: Sat, 20 Feb 2021 15:57:13 +0100
> 
>              ;; This isn't strictly correct if `execute-extended-command'
>              ;; is bound to anything else (e.g. [menu]).
>              ;; It could use (key-description (this-single-command-keys)),
>              ;; but actually a prompt other than "M-x" would be confusing,
>              ;; 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.



reply via email to

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