all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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




  reply	other threads:[~2015-11-13  0:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-11 23:36 bug#20790: Add more S-SPC key bindings Juri Linkov
2015-11-12 20:54 ` Juri Linkov
2015-11-12 23:51 ` 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

* 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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.