From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: bug#20790: Add more S-SPC key bindings
Date: Fri, 13 Nov 2015 01:53:22 +0100 [thread overview]
Message-ID: <876116g1od.fsf@debian.uxu> (raw)
In-Reply-To: 8737wa93pn.fsf@fastmail.com
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
next prev parent reply other threads:[~2015-11-13 0:53 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 ` bug#20790: Add more S-SPC key bindings Random832
2015-11-13 0:53 ` Emanuel Berg [this message]
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=876116g1od.fsf@debian.uxu \
--to=embe8573@student.uu.se \
--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).