all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan <wehmann@fnal.gov>
To: help-gnu-emacs@gnu.org
Subject: Esc key not Meta key in electric buffer
Date: Sun, 6 Mar 2011 10:46:23 -0800 (PST)	[thread overview]
Message-ID: <1cf452b5-c2d1-4c43-a541-db1f5231f8d8@r4g2000prm.googlegroups.com> (raw)

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



             reply	other threads:[~2011-03-06 18:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-06 18:46 Alan [this message]
2011-03-11 18:10 ` Esc key not Meta key in electric buffer Alan
2011-03-12  2:50   ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1cf452b5-c2d1-4c43-a541-db1f5231f8d8@r4g2000prm.googlegroups.com \
    --to=wehmann@fnal.gov \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.