all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* rebinding ESC key
@ 2007-11-06  8:48 Mike Mattie
  2007-11-06 10:25 ` Peter Dyballa
  0 siblings, 1 reply; 8+ messages in thread
From: Mike Mattie @ 2007-11-06  8:48 UTC (permalink / raw)
  To: help-gnu-emacs


[-- Attachment #1.1: Type: text/plain, Size: 545 bytes --]

Hello,

I would like to rebind the ESC key to execute a single function on a key-press. A simple mapping like this:

(global-set-key kdb("<ESC>") 'execute-extended-command)

I found that when I successfully bound the key that many of the essential bindings such as "M-" were broken.
I am assuming that M- is some sort of alias to ESC for compatibility. (which has been handy on weird terminals
such as screen). 

How do I map the ESC key without altering M- bindings ?

sorry if this is a FAQ, I did google.

Cheers,
Mike Mattie

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <mailman.3032.1194339074.18990.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2007-11-11 10:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-06  8:48 rebinding ESC key Mike Mattie
2007-11-06 10:25 ` Peter Dyballa
2007-11-07  7:40   ` Kevin Rodgers
2007-11-07 13:35     ` Mike Mattie
     [not found]   ` <mailman.3078.1194421225.18990.help-gnu-emacs@gnu.org>
2007-11-10 20:13     ` don provan
2007-11-10 21:05       ` Amy Templeton
2007-11-11 10:50         ` B. Smith-Mannschott
     [not found] <mailman.3032.1194339074.18990.help-gnu-emacs@gnu.org>
2007-11-07 19:06 ` Johan Bockgård

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.