On June 6, 2019 10:26:28 AM GMT+03:00, Jean-Christophe Helary <address@hidden
I found on Stackoverflow that C-[ was pretty much hard-coded as ESC.
Why is that ?
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.
Yes but, in my other applications I do have the ability to use Ctrl+[ in a way that is not ESC. Like assign C-[ as a shortcut similarly to C-].
Is there a way to do the same in emacs ?