help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: C-[ is undefined


From: Noam Postavsky
Subject: Re: C-[ is undefined
Date: Fri, 27 Jul 2018 09:12:31 -0400

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.



reply via email to

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