GNU bug report logs - #1525
prompt string for execute-extended-command not flexible

Previous Next

Package: emacs;

Reported by: xah lee <xah <at> xahlee.org>

Date: Tue, 9 Dec 2008 22:45:03 UTC

Severity: minor

Tags: notabug

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: xah lee <xah <at> xahlee.org>
To: bug-gnu-emacs <at> gnu.org
Subject: bug#1525: prompt string for execute-extended-command not flexible
Date: Tue, 9 Dec 2008 14:36:36 -0800
The prompt string for execute-extended-command is “M-x ”, but that  
is not correct if the command is bound to some other key by  
customization.

Kevin Rodgers gave this explanation recently in “gnu.emacs.help”:

«
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 ");
-- 
Kevin Rodgers
»

So, possibly the promp can be changed to “Execute command ”.

Thanks.

  Xah
∑ http://xahlee.org/

This bug report was last modified 13 years and 337 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.