all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: xah lee <xah@xahlee.org>, 1525@debbugs.gnu.org
Subject: bug#1525: prompt string for execute-extended-command not flexible
Date: Mon, 11 Jul 2011 23:41:59 -0400	[thread overview]
Message-ID: <jwvpqlgqibv.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m3ei1yff94.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Sun, 10 Jul 2011 15:15:51 +0200")

> (key-description (car (where-is-internal 'execute-extended-command)))
> Is there any reason it doesn't just use this_command_keys which
> presumably would be more correct?

Actually the problem is that it should never have said "M-x " but rather
"Run command: ".  From this viewpoint, there's no need to use
this_command_keys: "M-x" is really only meant to be "the canonical
key-binding for this command", so (key-description (car
(where-is-internal 'execute-extended-command))) works as well.
Otherwise if someone happens to hit the "menu" key without realizing
that it's bound to execute-extended-command he might start wonder "OK
the menu bar says 'menu ' what do I do now?", whereas presumably with
"M-x " the user sees "oh that runs the same command as M-x, cool".


        Stefan





  parent reply	other threads:[~2011-07-12  3:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-09 22:36 bug#1525: prompt string for execute-extended-command not flexible xah lee
2011-07-10 13:15 ` Lars Magne Ingebrigtsen
2011-07-12  3:20   ` Chong Yidong
2011-07-12  3:41   ` Stefan Monnier [this message]
2011-07-12  8:51     ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvpqlgqibv.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=1525@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=xah@xahlee.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.