From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: bug#20790: Add more S-SPC key bindings Date: Fri, 13 Nov 2015 01:53:22 +0100 Message-ID: <876116g1od.fsf@debian.uxu> References: <87fv5x24y2.fsf@mail.linkov.net> <8737wa93pn.fsf@fastmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1447375438 30245 80.91.229.3 (13 Nov 2015 00:43:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Nov 2015 00:43:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 13 01:43:47 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zx2Sw-0002kK-VX for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Nov 2015 01:43:47 +0100 Original-Received: from localhost ([::1]:50447 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zx2Sw-0004a0-Jc for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Nov 2015 19:43:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zx2Sl-0004ZI-0K for help-gnu-emacs@gnu.org; Thu, 12 Nov 2015 19:43:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zx2Sg-00028a-0E for help-gnu-emacs@gnu.org; Thu, 12 Nov 2015 19:43:34 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:42356) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zx2Sf-00028H-PT for help-gnu-emacs@gnu.org; Thu, 12 Nov 2015 19:43:29 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Zx2Sd-0002M2-KY for help-gnu-emacs@gnu.org; Fri, 13 Nov 2015 01:43:27 +0100 Original-Received: from nl106-137-244.student.uu.se ([130.243.137.244]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Nov 2015 01:43:27 +0100 Original-Received: from embe8573 by nl106-137-244.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Nov 2015 01:43:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 41 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-244.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:+x7d7fi/md+KRhy+wi2R48ZdVp0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:108041 Archived-At: Random832 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: (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