unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Meta and Escape
@ 2009-05-25 10:37 carsten
  2009-05-25 10:58 ` Peter Dyballa
  0 siblings, 1 reply; 2+ messages in thread
From: carsten @ 2009-05-25 10:37 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

are there any clear rules when a key binding using meta will be
automatically translated into the corresponding binding using the
escape key?  I find that my version of Emacs (latest Emacs 23 pretest)
behaves somewhat eratic, it seems to me.

For example:

 A binding to [(meta ?a)]  will also affect ESC-a
 A binding to [(meta return)] will not cause Esc-return to be defined.

Doe anyone know the rules of this game?

Thanks.

- Carsten


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

* Re: Meta and Escape
  2009-05-25 10:37 Meta and Escape carsten
@ 2009-05-25 10:58 ` Peter Dyballa
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Dyballa @ 2009-05-25 10:58 UTC (permalink / raw)
  To: carsten; +Cc: help-gnu-emacs


Am 25.05.2009 um 12:37 schrieb carsten:

>  A binding to [(meta ?a)]  will also affect ESC-a
>  A binding to [(meta return)] will not cause Esc-return to be defined.


Maybe you've discovered a bug, maybe it happens that your system's  
locale (or windowing system) does or does not translations of 8-bit  
control characters ...

M-<something> is meant to be adequate to ESC-<something>. To find out  
what might be causing it you could try to bind the key combination in  
different ways, for example:

	(define-key map "\e\r"     'whatever)

and also check what you see when you type, for example in *scratch*  
buffer, C-q M-RET.

--
Mit friedvollen Grüßen

   Pete

Genius may have its limitations, but stupidity is not thus handicapped.
				– Elbert Hubbard







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

end of thread, other threads:[~2009-05-25 10:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-25 10:37 Meta and Escape carsten
2009-05-25 10:58 ` Peter Dyballa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).