all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How replace "M-x" string you see when you type a command?
@ 2008-12-08 19:06 seberino
  2008-12-09 14:09 ` Kevin Rodgers
       [not found] ` <mailman.2304.1228831813.26697.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: seberino @ 2008-12-08 19:06 UTC (permalink / raw
  To: help-gnu-emacs

When you type a command in Emacs you are greeted with the prompt "M-
x".  How change that prompt string?

Chris


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How replace "M-x" string you see when you type a command?
  2008-12-08 19:06 How replace "M-x" string you see when you type a command? seberino
@ 2008-12-09 14:09 ` Kevin Rodgers
       [not found] ` <mailman.2304.1228831813.26697.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2008-12-09 14:09 UTC (permalink / raw
  To: help-gnu-emacs

seberino@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
Denver, Colorado, USA





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How replace "M-x" string you see when you type a command?
       [not found] ` <mailman.2304.1228831813.26697.help-gnu-emacs@gnu.org>
@ 2008-12-09 18:13   ` seberino
  0 siblings, 0 replies; 3+ messages in thread
From: seberino @ 2008-12-09 18:13 UTC (permalink / raw
  To: help-gnu-emacs

On Dec 9, 6:09 am, Kevin Rodgers <kevin.d.rodg...@gmail.com> wrote:
> seber...@spawar.navy.mil wrote:
> > When you type a command inEmacsyou are greeted with the prompt "M-
> > x".  How change that prompt string?
>
> Change this code in src/keyboard.c and recompileemacs:
>
>    /* 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
> Denver, Colorado, USA

thank you very much

cs


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-12-09 18:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-08 19:06 How replace "M-x" string you see when you type a command? seberino
2008-12-09 14:09 ` Kevin Rodgers
     [not found] ` <mailman.2304.1228831813.26697.help-gnu-emacs@gnu.org>
2008-12-09 18:13   ` seberino

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.