emacs-devel
[Top][All Lists]
Advanced

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

Re: Ctrl-[ ?


From: Stefan Kangas
Subject: Re: Ctrl-[ ?
Date: Wed, 12 Jun 2019 14:22:45 +0200

Michael Welsh Duggan <address@hidden> writes:
>> To turn off what behavior?
>
> Turn off the translation of C-[ to ESC, C-i to TAB, etc.  Only really
> useful in graphical sessions, but I'd support such an option, though I'd
> never use it myself.

Yes, this would be the proposal.

> To play devil's advocate, though, we wouldn't want this to lead to
> people producing public modes whose default keybindings depend on this
> translation not happening.  Hmm...  I may have just talked myself around
> to not wanting the option.

I suggested in a separate email that the byte compiler could warn
when binding C-i or C-[ directly (as opposed to binding TAB or ESC).
In my mind, that should be sufficiently discouraging for package
authors while also allowing users to do this if they wish to do so.
Would that sound more appealing to you?

I'm not familiar with the byte compiler though, so I don't know how
hard this is to do in practice.

Thanks,
Stefan Kangas



reply via email to

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