[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug#20790: Add more S-SPC key bindings
From: |
Random832 |
Subject: |
Re: bug#20790: Add more S-SPC key bindings |
Date: |
Thu, 12 Nov 2015 18:51:16 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Juri Linkov <juri@linkov.net> writes:
> After adding S-SPC to some modes in bug#2145
> it's natural to expect S-SPC to be the reverse of SPC
> to move in opposite direction, but in modes where SPC
> moves point by one line, S-SPC unexpectedly moves back
> a full screen (because it uses the default binding
> scroll-down-command in special-mode). This patch
> binds S-SPC to line-oriented commands.
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?
- Re: bug#20790: Add more S-SPC key bindings,
Random832 <=