From: Eric Hanchrow <offby1@blarg.net>
Subject: Re: Meta-key Madness (argh!!)
Date: Wed, 29 Nov 2006 23:25:24 -0800 [thread overview]
Message-ID: <874pshxuor.fsf@offby1.atm01.sea.blarg.net> (raw)
In-Reply-To: 1164867131.959727.245990@l12g2000cwl.googlegroups.com
>>>>> "Howard" == Howard Yeh! <hayeah@gmail.com> writes:
Howard> (global-set-key "\C-[" 'insert-parentheses)
Howard> unbinds all my meta keys, and pressing "C-[" gives me the
Howard> ESC key. What gives?
That's because you're using a text-mode console, as opposed to running
Emacs under X, or Microsoft Windows, or OS X.
In text-mode consoles, the keyboard is capable of delivering only
ASCII characters (or sequences of them) when you press a key, and in
ASCII, control-[ and ESC _are the same character_. They're
indistinguishable.
(They even do the same thing in my Windows Emacs, although there, I
suspect it might be possible to distinguish them, with some wizardry.)
Howard> I also has trouble binding c-i, m-i, because they are
Howard> synonyms for <TAB>.
Yup. Same deal.
Howard> Is there any established way to deal with this sort of
Howard> problems?
Other than "use a window system" (which as you can see isn't even
sufficient), I can't think of one.
--
Most people don't even know what a rootkit is, so why should they
care about it?
-- Thomas Hesse, Sony BMG's president of global digital business
next prev parent reply other threads:[~2006-11-30 7:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-30 6:12 Meta-key Madness (argh!!) Howard Yeh!
2006-11-30 7:25 ` Eric Hanchrow [this message]
2006-11-30 7:29 ` David Kastrup
2006-12-02 21:24 ` Howard Yeh!
[not found] ` <mailman.1344.1164872317.2155.help-gnu-emacs@gnu.org>
2006-12-02 21:15 ` Howard Yeh!
2006-12-02 21:26 ` Howard Yeh!
2006-12-02 22:12 ` David Kastrup
2006-12-03 3:06 ` Howard Yeh!
2006-12-04 15:06 ` Johan Bockgård
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=874pshxuor.fsf@offby1.atm01.sea.blarg.net \
--to=offby1@blarg.net \
/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.