From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: C-[ is undefined
Date: Fri, 27 Jul 2018 16:38:54 -0400 [thread overview]
Message-ID: <jwvr2jol8y9.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: CAM-tV-8C6YSJH9nw8YgpH=h5Pb-FZU+vz01O2dHipe4Vm-5TSQ@mail.gmail.com
> 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
next prev parent reply other threads:[~2018-07-27 20:38 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-07 19:52 C-[ is undefined Michael Brand
2018-07-26 2:00 ` Fwd: " Michael Brand
[not found] ` <mailman.4231.1532570417.1292.help-gnu-emacs@gnu.org>
2018-07-26 12:38 ` Ben Bacarisse
2018-07-27 0:17 ` Michael Brand
[not found] ` <mailman.4284.1532650678.1292.help-gnu-emacs@gnu.org>
2018-07-27 1:33 ` Ben Bacarisse
2018-07-27 13:24 ` John Shahid
[not found] ` <mailman.4322.1532697888.1292.help-gnu-emacs@gnu.org>
2018-07-27 16:19 ` Ben Bacarisse
2018-07-27 13:12 ` Noam Postavsky
2018-07-27 20:38 ` Stefan Monnier [this message]
2018-07-28 23:40 ` Michael Brand
2018-08-19 16:02 ` Michael Brand
2018-08-19 16:12 ` Stefan Monnier
2018-08-19 17:01 ` Michael Brand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvr2jol8y9.fsf-monnier+gmane.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.