From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help Subject: Re: Bind right shift and TAB won't work Date: Mon, 13 May 2013 02:33:47 -0600 Message-ID: <20130513083346.GB24043@hysteria.proulx.com> References: <87k3n5dw7z.fsf@VLAN-3434.student.uu.se> <87ehdcwntm.fsf@VLAN-3434.student.uu.se> <87y5bjykhh.fsf@VLAN-3434.student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1368434044 15720 80.91.229.3 (13 May 2013 08:34:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 May 2013 08:34:04 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 13 10:34:03 2013 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 1UboCp-0004vt-8D for geh-help-gnu-emacs@m.gmane.org; Mon, 13 May 2013 10:34:03 +0200 Original-Received: from localhost ([::1]:34101 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UboCo-0001nh-I9 for geh-help-gnu-emacs@m.gmane.org; Mon, 13 May 2013 04:34:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UboCb-0001nQ-Nj for help-gnu-emacs@gnu.org; Mon, 13 May 2013 04:33:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UboCa-0006mi-E0 for help-gnu-emacs@gnu.org; Mon, 13 May 2013 04:33:49 -0400 Original-Received: from joseki.proulx.com ([216.17.153.58]:39096) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UboCa-0006mY-6t for help-gnu-emacs@gnu.org; Mon, 13 May 2013 04:33:48 -0400 Original-Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 75AED211DF for ; Mon, 13 May 2013 02:33:47 -0600 (MDT) Original-Received: by hysteria.proulx.com (Postfix, from userid 1000) id 33B892DC44; Mon, 13 May 2013 02:33:47 -0600 (MDT) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <87y5bjykhh.fsf@VLAN-3434.student.uu.se> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 216.17.153.58 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:90687 Archived-At: Emanuel Berg wrote: > Peter Dyballa writes: > > C-h k, I think, can be fooled when you have a keyboard translation > > active (so best used when GNU Emacs is launched with -Q). > > The result is still TAB (and only TAB). If you are using a terminal emulator then the result depends upon the emulator. Xterm for instance sends Shift-TAB as an ESC [ Z terminal escape sequence. Many others to do. But some do not. > > The lowest level, besides using xev, is pressing C-q and then your > > key combination. > > Yeah, can you use xev in the console? No. People are assuming that you are running the X graphical display of Emacs. I think you are using the standard terminal interface. With X emacs can detect every key. With a terminal Emacs has nothing to do with keys and it is the terminal emulators job to detect keys and to produce characters. The emulation may not be implementing all of the usual key combinations. S-TAB (aka backtab) is usually imlemented with ESC [ Z. > C-q doesn't notice the news either: I hold shift, but only TAB shows. I think you must be either using the Linux vt virtual console or are using a terminal emulator that does not implement S-TAB. If you are using a Linux virtual console there isn't any way around this without patching Linux. If you are using an X terminal emulator then try using Xterm and it should work for you. Bob