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 22:16:54 +0900


> On Jun 7, 2019, at 20:43, Noam Postavsky <npostavs@gmail.com> wrote:
> 
> On Fri, 7 Jun 2019 at 02:25, Eli Zaretskii <eliz@gnu.org> wrote:
> 
>>> I don't think it's possible to rebind C-[.
>> 
>> I thought Stefan explained what needs to be done for that, and my
>> understanding was that it all can be done on the user level.
> 
> Oh, you're right actually, I hadn't followed the link before. This works:
> 
> (define-key input-decode-map "\C-[" [C-left-bracket])

I had missed that part. Thank you so much :)

> (define-key global-map [C-left-bracket] 'forward-char)

Then, this is straightforward :)

Now, what are the other function keys that require a similar treatment ?

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




reply via email to

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