all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Esc key not Meta key in electric buffer
@ 2011-03-06 18:46 Alan
  2011-03-11 18:10 ` Alan
  0 siblings, 1 reply; 3+ messages in thread
From: Alan @ 2011-03-06 18:46 UTC (permalink / raw)
  To: help-gnu-emacs

Perhaps someone can explain the observation that the Esc key on my
Dell laptop does not seem to function as the Meta key in

GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) of 2010-05-08 on G41R2F1

when in a buffer produced by the command

electric-buffer-list

In "ebuff-menu.el" I find the following:

    (define-key map "\e>" 'end-of-buffer)
    (define-key map "\e<" 'beginning-of-buffer)

By using instead C-[

(Control, Left bracket)

I can get "describe-key" to work with C-[ > while in the electric
buffer and it starts out saying

-----------------------------------------------------------------

M-> runs the command end-of-buffer, which is an interactive compiled
Lisp function in `simple.el'.

It is bound to M->, <C-end>, <menu-bar> <edit> <goto> <end-of-buf>.

-----------------------------------------------------------------

In a buffer that isn't an electric buffer, "describe-key-briefly"
produces the following (taken from the *Messages* buffer) for the key
combination Esc->

M-> (translated from <escape> >) runs the command end-of-buffer

In the electric buffer, "describe-key-briefly" for Esc-> produces the
following (taken from the *Messages* buffer):

<escape> > is undefined

In the electic buffer, "describe-key-briefly" for C-[ > produces the
following (taken from the *Messages* buffer):

M-> runs the command end-of-buffer



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

end of thread, other threads:[~2011-03-12  2:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-06 18:46 Esc key not Meta key in electric buffer Alan
2011-03-11 18:10 ` Alan
2011-03-12  2:50   ` Stefan Monnier

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.