From: Noam Postavsky <npostavs@gmail.com>
To: Michael Brand <michael.ch.brand@gmail.com>
Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: C-[ is undefined
Date: Fri, 27 Jul 2018 09:12:31 -0400 [thread overview]
Message-ID: <CAM-tV-8C6YSJH9nw8YgpH=h5Pb-FZU+vz01O2dHipe4Vm-5TSQ@mail.gmail.com> (raw)
In-Reply-To: <CALn3zoj5_bxj2NixizG0_K7pyPo83r=1vrJLa2t9pxHXyR3bGQ@mail.gmail.com>
On 7 July 2018 at 15:52, Michael Brand <michael.ch.brand@gmail.com> wrote:
> Short story: ~C-x @ c [~ results in "C-[ is undefined" but I expected
> it to be the Meta prefix like in for example ~C-[ t~ for ~M-t~.
This seems to work correctly, though I can't say I entirely understand why:
(define-key key-translation-map
(vector (+ #x4000000 ?\[))
[?\e])
I found (+ #x4000000 ?\[) by evaluating (read-key-sequence "keyseq? ")
and then typing in C-x @ c [ in response to the prompt.
next prev parent reply other threads:[~2018-07-27 13:12 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 [this message]
2018-07-27 20:38 ` Stefan Monnier
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='CAM-tV-8C6YSJH9nw8YgpH=h5Pb-FZU+vz01O2dHipe4Vm-5TSQ@mail.gmail.com' \
--to=npostavs@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=michael.ch.brand@gmail.com \
/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.