From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adrian Robert Newsgroups: gmane.emacs.bugs Subject: bug#6616: S-TAB is mismapped in the *Help* buffer Date: Mon, 12 Jul 2010 22:03:11 +0300 Message-ID: References: <4C3AB426.2040500@gmail.com> <83pqyssj5a.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1278963387 20275 80.91.229.12 (12 Jul 2010 19:36:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 12 Jul 2010 19:36:27 +0000 (UTC) Cc: Paul Griepentrog , 6616@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 12 21:36:24 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 1OYOnW-0001RE-Et for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Jul 2010 21:36:23 +0200 Original-Received: from localhost ([127.0.0.1]:37911 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYOnQ-0006AY-MW for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Jul 2010 15:36:08 -0400 Original-Received: from [140.186.70.92] (port=56128 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYOhg-0008L1-Um for bug-gnu-emacs@gnu.org; Mon, 12 Jul 2010 15:30:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYOhf-000506-HM for bug-gnu-emacs@gnu.org; Mon, 12 Jul 2010 15:30:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60744) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYOhf-0004zz-Fn for bug-gnu-emacs@gnu.org; Mon, 12 Jul 2010 15:30:11 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OYOIM-0002YY-Am; Mon, 12 Jul 2010 15:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Adrian Robert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Jul 2010 19:04: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.12789613939815 (code B ref 6616); Mon, 12 Jul 2010 19:04:02 +0000 Original-Received: (at 6616) by debbugs.gnu.org; 12 Jul 2010 19:03:13 +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 1OYOHZ-0002YG-2n for submit@debbugs.gnu.org; Mon, 12 Jul 2010 15:03:13 -0400 Original-Received: from mail-ew0-f44.google.com ([209.85.215.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYOHX-0002Y9-B1 for 6616@debbugs.gnu.org; Mon, 12 Jul 2010 15:03:11 -0400 Original-Received: by ewy22 with SMTP id 22so923222ewy.3 for <6616@debbugs.gnu.org>; Mon, 12 Jul 2010 12:03:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=ss6l6eeTaaUNBEnHR/TY27DU7Z8pltjmv4WMfsgYX5o=; b=DehH9MA2GeWVJPXxipLrf6UzAFSVtofmk8+FYxKTPh1VjmbcmZCzFGDEiHOKtqM4cN zc7U/7ywDRFybXqs72Pf6LfM7DaOJlzbc1k4Vx0yMiFZkcVHduYJQ4qZQ0m2YtOFp/tj 5cFSi0lPV2ONojjxuXuwR5Gxpyjc1Bea4xH98= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=NjMBZadnoHRytfFOJqICUC003kXoD/Fsn/lQot2LrLy8by0tjx8HPvGR5wNlnGclM2 vPXCaLGHICGuNqOiSgMU1RR/AzG5+1BKoeFS0m2wb0YES95BPS57D7rYsCin9lDd8ARg HoqE3Ek0dgOcaljJEme0f7A/WcWOMaKWwHaz0= Original-Received: by 10.213.31.129 with SMTP id y1mr10655412ebc.81.1278961394212; Mon, 12 Jul 2010 12:03:14 -0700 (PDT) Original-Received: from [10.0.1.2] (dsl-hkibrasgw2-ff6ec300-110.dhcp.inet.fi [88.195.110.110]) by mx.google.com with ESMTPS id a48sm39533273eei.19.2010.07.12.12.03.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 12 Jul 2010 12:03:13 -0700 (PDT) In-Reply-To: <83pqyssj5a.fsf@gnu.org> X-Mailer: Apple Mail (2.1081) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 12 Jul 2010 15:04: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:38466 Archived-At: On Jul 12, 2010, at 8:29 PM, Eli Zaretskii wrote: > This is Mac-specific, and it is due to this line from term/ns-win.el: >=20 > (define-key map [S-tab] [25]) >=20 > I have no idea why this line is there, perhaps Mac users expect this > binding. I also don't see how this line plays with the following line > from the same ns-win.el, a few lines up: >=20 > (put 'S-tab 'ascii-character (logior 16 ?\t)) >=20 > These two lines have been there for almost 2 years. >=20 >> My guess is that the right place to change this is in the >> `button-buffer-map'. >=20 > No, the right way seems to be to find out why ns-win.el defines this > strange mapping. Adrian? 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). The other stuff in ns-alternatives-map appears to be needed though, else = the characters listed there don't get interpreted correctly.