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

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

Re: Ctrl-[ ?


From: Jean-Christophe Helary
Subject: Re: Ctrl-[ ?
Date: Fri, 7 Jun 2019 08:08:44 +0900


> On Jun 7, 2019, at 3:29, Noam Postavsky <npostavs@gmail.com> wrote:
> 
> On Thu, 6 Jun 2019 at 14:22, Jean-Christophe Helary
> <jean.christophe.helary@traduction-libre.org> wrote:
> 
>> I'm checking "Named ASCII Control Characters", "Rebinding Function Keys" and 
>> "Rebinding Keys in Your Init File" and I'm not clear how I can rebind 
>> "escape" to a given function.
> 
> Like any other function key:
> 
> (define-key global-map (kbd "<escape>") 'a-given-function)

Ok, but if I do that it's my ESC key that is assigned to that function, not C-[

And when I do
(define-key global-map [?\C-[] 'a-given-function)

I get <C-[> is undefined...


Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune





reply via email to

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