From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: xah lee Newsgroups: gmane.emacs.bugs Subject: bug#1525: prompt string for execute-extended-command not flexible Date: Tue, 9 Dec 2008 14:36:36 -0800 Message-ID: Reply-To: xah lee , 1525@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=UTF-8; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1228889773 18009 80.91.229.12 (10 Dec 2008 06:16:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Dec 2008 06:16:13 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 10 07:17:18 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LAINp-0003T9-GZ for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Dec 2008 07:17:17 +0100 Original-Received: from localhost ([127.0.0.1]:56139 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAIMd-0000dV-Td for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Dec 2008 01:16:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LABcs-00062Z-LB for bug-gnu-emacs@gnu.org; Tue, 09 Dec 2008 18:04:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LABcr-00061i-5V for bug-gnu-emacs@gnu.org; Tue, 09 Dec 2008 18:04:22 -0500 Original-Received: from [199.232.76.173] (port=57309 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LABcq-00061O-If for bug-gnu-emacs@gnu.org; Tue, 09 Dec 2008 18:04:20 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33005) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LABcp-0003Bt-Qm for bug-gnu-emacs@gnu.org; Tue, 09 Dec 2008 18:04:20 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB9N4Hf8011319; Tue, 9 Dec 2008 15:04:18 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mB9Mj3Vd006043; Tue, 9 Dec 2008 14:45:03 -0800 X-Loop: don@donarmstrong.com Resent-From: xah lee Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 09 Dec 2008 22:45:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1525 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12288622234451 (code B ref -1); Tue, 09 Dec 2008 22:45:03 +0000 X-Spam-Bayes: score:0.0000 Tokens: new, 34; hammy, 90; neutral, 65; spammy, 1. spammytokens:0.998-1--greeted hammytokens:0.000-+--emacs, 0.000-+--Emacs, 0.000-+--m-x, 0.000-+--Mx, 0.000-+--M-x Original-Received: (at submit) by emacsbugs.donarmstrong.com; 9 Dec 2008 22:37:03 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB9MaxnJ004444 for ; Tue, 9 Dec 2008 14:37:01 -0800 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LABCN-0003kd-DQ for bug-gnu-emacs@gnu.org; Tue, 09 Dec 2008 17:36:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LABCL-0003im-F4 for bug-gnu-emacs@gnu.org; Tue, 09 Dec 2008 17:36:58 -0500 Original-Received: from [199.232.76.173] (port=56757 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LABCL-0003ia-8r for bug-gnu-emacs@gnu.org; Tue, 09 Dec 2008 17:36:57 -0500 Original-Received: from mout.perfora.net ([74.208.4.194]:65362) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LABCL-0008W4-2g for bug-gnu-emacs@gnu.org; Tue, 09 Dec 2008 17:36:57 -0500 Original-Received: from [192.168.1.2] (c-24-6-185-159.hsd1.ca.comcast.net [24.6.185.159]) by mrelay.perfora.net (node=mrus0) with ESMTP (Nemesis) id 0MKp8S-1LABC82m4X-0006Om; Tue, 09 Dec 2008 17:36:46 -0500 X-Mailer: Apple Mail (2.753.1) X-Provags-ID: V01U2FsdGVkX19k9Mp0RUNH/Q6XtE6ucb46Hh22LDWEcYMg+3y 8WuZUV30+ROQR+IxtBx3XJF58S8r4p+lct0PPHxKM62DDObhbd V4yArpWjU46Kk8mXkZpBg== X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 09 Dec 2008 18:04:22 -0500 X-Mailman-Approved-At: Wed, 10 Dec 2008 01:15:41 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23132 Archived-At: The prompt string for execute-extended-command is =E2=80=9CM-x =E2=80=9D, = but that =20 is not correct if the command is bound to some other key by =20 customization. Kevin Rodgers gave this explanation recently in =E2=80=9Cgnu.emacs.help=E2= =80=9D: =C2=AB seber...@spawar.navy.mil wrote: > When you type a command in Emacs you are greeted with the prompt "M- > x". How change that prompt string? Change this code in src/keyboard.c and recompile emacs: /* This isn't strictly correct if execute-extended-command is bound to anything else. Perhaps it should use this_command_keys? */ strcat (buf, "M-x "); --=20 Kevin Rodgers =C2=BB So, possibly the promp can be changed to =E2=80=9CExecute command =E2=80=9D= . Thanks. Xah =E2=88=91 http://xahlee.org/ =E2=98=84=