help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Meta-key Madness (argh!!)


From: David Kastrup
Subject: Re: Meta-key Madness (argh!!)
Date: Thu, 30 Nov 2006 08:29:36 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

"Howard Yeh!" <hayeah@gmail.com> writes:

> I can't figure out how to bind "C-["
>
> For some reason
>
> (global-set-key "\C-[" 'insert-parentheses)
>
> unbinds all my meta keys, and pressing "C-[" gives me the ESC key. What
> gives?

That's how things are on text terminals.  On graphical terminals,
(local-set-key [C-\[] 'insert-parentheses)
could conceivably make a difference, but apparently it doesn't.

> I also has trouble binding c-i, m-i, because they are synonyms for
> <TAB>. Though I have really ugly work around for them. Is there any
> established way to deal with this sort of problems?

Accept that ESC is the same as C-[.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


reply via email to

[Prev in Thread] Current Thread [Next in Thread]