[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug#20790: Add more S-SPC key bindings
From: |
Emanuel Berg |
Subject: |
Re: bug#20790: Add more S-SPC key bindings |
Date: |
Fri, 13 Nov 2015 01:53:22 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Random832 <random832@fastmail.com> writes:
> On the subject of S-SPC - I configured my terminal
> emulator to emit "\e[27;2;32~" (the same escape
> sequence that xterm emits in some mode), and added
> this to my init.el:
>
> (define-key input-decode-map "^[[27;2;32~" (kbd
> "S-SPC"))
>
> And it "works" (I don't get escape sequence junk
> when I type it), but "doesn't work" in that all it
> ever seems to do is insert space, and C-h k thinks
> I've typed SPC with no hint of it being translated
> from anything else.
>
> Anyone know what I'm doing wrong?
Mine look like this:
(define-key input-decode-map [?\u0110] [C-0])
and yes, it should say it is translated:
<C-0> (translated from ...) is undefined
I once wrote a tutorial how to do this in the ttys:
http://user.it.uu.se/~embe8573/tty-emacs-keys.txt
but with xterm I don't know.
Either it is a notational issue - try something else
(something simpler), just to see if the translation
stuff works - either that, or it is something else.
:)
--
underground experts united
http://user.it.uu.se/~embe8573