[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Meta-key Madness (argh!!)
From: |
Eric Hanchrow |
Subject: |
Re: Meta-key Madness (argh!!) |
Date: |
Wed, 29 Nov 2006 23:25:24 -0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) |
>>>>> "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