From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Griepentrog Newsgroups: gmane.emacs.bugs Subject: bug#6616: S-TAB is mismapped in the *Help* buffer Date: Mon, 12 Jul 2010 22:42:14 -0700 Message-ID: <4C3BFCB6.8000002@gmail.com> References: <4C3AB426.2040500@gmail.com> <83pqyssj5a.fsf@gnu.org> <83mxtwsei9.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1279000836 20892 80.91.229.12 (13 Jul 2010 06:00:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 13 Jul 2010 06:00:36 +0000 (UTC) Cc: Adrian Robert , 6616@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 13 08:00:34 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OYYXf-0003va-UT for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Jul 2010 08:00:32 +0200 Original-Received: from localhost ([127.0.0.1]:51407 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYYXf-0002iV-38 for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Jul 2010 02:00:31 -0400 Original-Received: from [140.186.70.92] (port=41855 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYYXO-0002eB-Dc for bug-gnu-emacs@gnu.org; Tue, 13 Jul 2010 02:00:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYYXN-0004uV-5e for bug-gnu-emacs@gnu.org; Tue, 13 Jul 2010 02:00:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33820) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYYXN-0004uM-06 for bug-gnu-emacs@gnu.org; Tue, 13 Jul 2010 02:00:13 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OYYGk-0006wJ-Jm; Tue, 13 Jul 2010 01:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Griepentrog Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Jul 2010 05:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6616 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6616-submit@debbugs.gnu.org id=B6616.127899973626666 (code B ref 6616); Tue, 13 Jul 2010 05:43:02 +0000 Original-Received: (at 6616) by debbugs.gnu.org; 13 Jul 2010 05:42:16 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYYG0-0006w3-2A for submit@debbugs.gnu.org; Tue, 13 Jul 2010 01:42:16 -0400 Original-Received: from mail-pw0-f44.google.com ([209.85.160.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYYFx-0006vx-IX for 6616@debbugs.gnu.org; Tue, 13 Jul 2010 01:42:14 -0400 Original-Received: by pwj1 with SMTP id 1so2082988pwj.3 for <6616@debbugs.gnu.org>; Mon, 12 Jul 2010 22:42:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=/jhxfhHjRPtDlR6k/DHIHC5t7MBaGIn0no7VQxiOJlQ=; b=ddg4YZUEsNJ1TmYX915PCl/aYmV0J8YRd+JOq9myoat17i9nnaM23NrlEyZa0WJ4ft hkck1VZc7R4v6ByrOO5Oc1v5DsLGYQeePW8wuLswxF7fpudSFLX3OZBW0OvDB6wkJH9k PFIfE4tHYTcD7bXHDw/x2OiGAVwrQy8ycMSrA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=qiskRphewrk5xlKiYe4RW0qemTZd/YOYiSuFPooCb+/aC8aZ9Hng3ojPPdHP7FucA7 R7aeL7x4dJL0StbziKAJks4UxjBK9h2OphI80RcmjeiOSxJe9DQyy4Og4kOPFbIblXqn V8IbSDuv1Ai4trRnEtzsEbwDtkhGmSnmY1eqg= Original-Received: by 10.114.197.12 with SMTP id u12mr17416060waf.183.1278999735794; Mon, 12 Jul 2010 22:42:15 -0700 (PDT) Original-Received: from walnut.local (c-76-102-20-45.hsd1.ca.comcast.net [76.102.20.45]) by mx.google.com with ESMTPS id q6sm80643652waj.10.2010.07.12.22.42.14 (version=SSLv3 cipher=RC4-MD5); Mon, 12 Jul 2010 22:42:15 -0700 (PDT) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 In-Reply-To: <83mxtwsei9.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 13 Jul 2010 01:43:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38472 Archived-At: Thanks for looking into this. On 7/12/10 12:10 PM, Eli Zaretskii wrote: > > From: Adrian Robert > > Date: Mon, 12 Jul 2010 22:03:11 +0300 > > Cc: Paul Griepentrog , > > 6616@debbugs.gnu.org > > > > > > These lines were in the file when I started working with the port (more > > than 2 years ago ;), and although the definitions got moved around > > slightly, I never removed anything unless a problem was reported. Now that > > we have this report, I propose removing BOTH of the S-tab lines. I tried > > this locally and it did no harm, and let S-tab be interpreted (though some > > default mapping seems to translate it to plain tab). With the proposed change there still is no binding for backward-button in *Help* and many other modes... the real problem. The translation from S-TAB to TAB effectively drops the shift modifier. How about removing: (put 'S-tab 'ascii-character (logior 16 ?\t)) and binding [S-tab] to [backtab] in the `ns-alternatives-map' instead? (define-key map [S-tab] [backtab]) Maybe stretching it here, but along this line of thinking, is it useful to distinguish between [S-tab] and [backtab]? Bug #1281 points out that it becomes a hassle for users -- at least under Windows OS -- who must rebind both [S-tab] and [backtab]. If it is not useful, we could remove the duplicate bindings which several modes provide. These modes often bind a combination of [S-tab], "\M-\t" or "\e\t" to the same function invoked by [backtab]: - forms - info - widget - org-table - org - mh-letter - mh-folder - mh-show - info Instead we could align it to other modes which only use [backtab] - erc - grep - compile - ses - diff-mode - log-view Thanks for the consideration. > Sure, go ahead and remove these lines, and please close the bug after > you do. > > Thanks.