[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
- Re: Current mode command discovery, (continued)
- Re: Current mode command discovery, Lars Ingebrigtsen, 2021/02/20
- Re: Current mode command discovery, Eli Zaretskii, 2021/02/20
- Re: Current mode command discovery, Dmitry Gutov, 2021/02/20
- RE: [External] : Re: Current mode command discovery, Drew Adams, 2021/02/20
- RE: [External] : Re: Current mode command discovery, Drew Adams, 2021/02/21
- Re: Current mode command discovery, Kévin Le Gouguec, 2021/02/21
- RE: [External] : Re: Current mode command discovery, Drew Adams, 2021/02/21
- Re: Current mode command discovery, Lars Ingebrigtsen, 2021/02/21
- Re: Current mode command discovery,
Lars Ingebrigtsen <=
- Re: Current mode command discovery, Eli Zaretskii, 2021/02/20
- Re: Current mode command discovery, Lars Ingebrigtsen, 2021/02/21
- Re: Current mode command discovery, Eli Zaretskii, 2021/02/21
- Re: Current mode command discovery, Lars Ingebrigtsen, 2021/02/21
- Re: Current mode command discovery, Eli Zaretskii, 2021/02/21
- Re: Current mode command discovery, Lars Ingebrigtsen, 2021/02/22
- Re: Current mode command discovery, Eli Zaretskii, 2021/02/22
- RE: [External] : Re: Current mode command discovery, Drew Adams, 2021/02/20
Re: Current mode command discovery, Stefan Monnier, 2021/02/20