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: Sat, 20 Feb 2021 15:57:13 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> This shows "M-x" prompt, whereas I expected either "M-X" or "M-S-x".

Oh, the prompt is from:

               ;; 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.

-- 
(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]