From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#1525: prompt string for execute-extended-command not flexible Date: Mon, 11 Jul 2011 23:41:59 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310442214 377 80.91.229.12 (12 Jul 2011 03:43:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 12 Jul 2011 03:43:34 +0000 (UTC) Cc: xah lee , 1525@debbugs.gnu.org To: Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 12 05:43:30 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QgTse-0001Mk-T4 for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jul 2011 05:43:29 +0200 Original-Received: from localhost ([::1]:60138 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgTsd-0004BF-PT for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Jul 2011 23:43:27 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgTsI-0004AN-8X for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2011 23:43:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QgTsG-0005lT-0s for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2011 23:43:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgTsF-0005lM-1t for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2011 23:43:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QgTsD-0002R5-TF; Mon, 11 Jul 2011 23:43:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Jul 2011 03:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 1525 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 1525-submit@debbugs.gnu.org id=B1525.13104421289304 (code B ref 1525); Tue, 12 Jul 2011 03:43:01 +0000 Original-Received: (at 1525) by debbugs.gnu.org; 12 Jul 2011 03:42:08 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QgTrL-0002Q1-0q for submit@debbugs.gnu.org; Mon, 11 Jul 2011 23:42:07 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QgTrJ-0002PZ-Rr for 1525@debbugs.gnu.org; Mon, 11 Jul 2011 23:42:06 -0400 Original-Received: from cpe-66-108-39-217.nyc.res.rr.com ([66.108.39.217]:48341 helo=ceviche.home) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1QgTrE-00051a-75; Mon, 11 Jul 2011 23:42:00 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 11946660D5; Mon, 11 Jul 2011 23:41:59 -0400 (EDT) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sun, 10 Jul 2011 15:15:51 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 11 Jul 2011 23:43:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:48693 Archived-At: > (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