From: Random832 <random832@fastmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: bug#20790: Add more S-SPC key bindings
Date: Thu, 12 Nov 2015 18:51:16 -0500 [thread overview]
Message-ID: <8737wa93pn.fsf@fastmail.com> (raw)
In-Reply-To: 87fv5x24y2.fsf@mail.linkov.net
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?
next parent reply other threads:[~2015-11-12 23:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87fv5x24y2.fsf@mail.linkov.net>
2015-11-12 23:51 ` Random832 [this message]
2015-11-13 0:53 ` bug#20790: Add more S-SPC key bindings Emanuel Berg
2015-11-13 2:52 ` Random832
2015-11-13 3:11 ` Emanuel Berg
2015-11-13 2:19 ` Stefan Monnier
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8737wa93pn.fsf@fastmail.com \
--to=random832@fastmail.com \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).