[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C-[ is undefined
From: |
Stefan Monnier |
Subject: |
Re: C-[ is undefined |
Date: |
Fri, 27 Jul 2018 16:38:54 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> This seems to work correctly, though I can't say I entirely understand why:
>
> (define-key key-translation-map
> (vector (+ #x4000000 ?\[))
> [?\e])
Looks like a bug in `event-apply-modifier`:
(event-apply-modifier ?a 'control 26 "C-")
correctly returns 1 (aka C-a) but it doesn't apply that same
special-case to ?\[
Stefan
Re: C-[ is undefined, Noam Postavsky, 2018/07/27