From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Bind right shift and TAB won't work Date: Sat, 11 May 2013 15:43:18 -0700 Message-ID: <7519F6B9D87B450AA1E9056F02760371@us.oracle.com> References: <87k3n5dw7z.fsf@VLAN-3434.student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1368312222 555 80.91.229.3 (11 May 2013 22:43:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 May 2013 22:43:42 +0000 (UTC) To: "'Emanuel Berg'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 12 00:43:41 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 1UbIVx-0003Kp-Ha for geh-help-gnu-emacs@m.gmane.org; Sun, 12 May 2013 00:43:41 +0200 Original-Received: from localhost ([::1]:60020 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbIVx-0000qP-3C for geh-help-gnu-emacs@m.gmane.org; Sat, 11 May 2013 18:43:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbIVk-0000q9-NH for help-gnu-emacs@gnu.org; Sat, 11 May 2013 18:43:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UbIVj-0001rL-Oj for help-gnu-emacs@gnu.org; Sat, 11 May 2013 18:43:28 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:47786) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbIVj-0001rD-HS for help-gnu-emacs@gnu.org; Sat, 11 May 2013 18:43:27 -0400 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r4BMhNIG022507 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 11 May 2013 22:43:25 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r4BMhN2u011376 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 11 May 2013 22:43:24 GMT Original-Received: from abhmt119.oracle.com (abhmt119.oracle.com [141.146.116.71]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r4BMhNeI022076; Sat, 11 May 2013 22:43:23 GMT Original-Received: from dradamslap1 (/71.202.147.44) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 11 May 2013 15:43:23 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87k3n5dw7z.fsf@VLAN-3434.student.uu.se> thread-index: Ac5OlpHjgBBnI4P0Q+6n9zrvIBmG8wAAUexA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 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:90647 Archived-At: > In w3m, I'd like to iterate anchors backwards with (right) shift and > TAB. I tried both below approaches but behaviour suggests that Emacs > doesn't sense the shift (or ignores it) when combined with TAB. C-h k > also displays the documentation for plain TAB. > > (local-set-key (kbd "S-TAB") 'w3m-previous-anchor) > (local-set-key (kbd "") 'w3m-previous-anchor) > > PS. Does this group have a FAQ? DS. A FAQ? No. But it has an archive: http://lists.gnu.org/archive/html/help-gnu-emacs/ Emacs has a FAQ: http://www.gnu.org/software/emacs/emacs-faq.html When you do `C-h k' and then hold the right Shift key and hit the Tab key, just what does it say wrt the key sequence you used (forgetting about the binding for now)? Does it think that you hit only TAB? If so, that is what your keyboard is sending, I think. Does the right Shift key work for you otherwise, i.e., in general? What happens when you do the same thing, but you use the left Shift key? What happens if you try using `global-set-key', just to see? Same problem? AFAIK, there is no way to distinguish the left and right Shift keys, and either should work fine with the code you tried. You can also try (kbd "") and (kbd ""). But it sounds like your keyboard is not sending what's needed from the right Shift key. Maybe someone else has an idea.