emacs-devel
[Top][All Lists]
Advanced

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

Re: Ctrl-[ ?


From: Eli Zaretskii
Subject: Re: Ctrl-[ ?
Date: Thu, 06 Jun 2019 13:12:15 +0300
User-agent: K-9 Mail for Android

On June 6, 2019 10:26:28 AM GMT+03:00, Jean-Christophe Helary <address@hidden> 
wrote:
> I found on Stackoverflow that C-[ was pretty much hard-coded as ESC.
> Why is that ?
> 
> https://superuser.com/questions/173851/linux-remap-ctrl-key
> 
> Also, there is no mention about that at all in the manual.    


It isn't hardcoded in Emacs, it' "hardcoded" in the way the OS produces 
character codes when you type keys on the keyboard.  C-[ produces ESC for the 
same reason C-i produces TAB and C-j produces RET: these keys emit the same 
codes as the corresponding Ctrl sequences.



reply via email to

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