From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#37769: global-set-key wrongly downcases the typed key (e.g. S-tab). Date: Thu, 17 Oct 2019 16:00:50 +0000 Message-ID: <20191017160050.GB4718@ACM> References: <20191015190726.GA6315@ACM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="26380"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: 37769@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 17 18:50:28 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iL8yo-0006iF-GE for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Oct 2019 18:50:26 +0200 Original-Received: from localhost ([::1]:53208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL8ym-0005kg-Nr for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Oct 2019 12:50:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34701) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL8D1-0002V5-4S for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2019 12:01:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iL8D0-0004uF-0i for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2019 12:01:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39967) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iL8Cz-0004uB-TK for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2019 12:01:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iL8Cz-0000at-Q1 for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2019 12:01:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Oct 2019 16:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37769 X-GNU-PR-Package: emacs Original-Received: via spool by 37769-submit@debbugs.gnu.org id=B37769.15713280582267 (code B ref 37769); Thu, 17 Oct 2019 16:01:01 +0000 Original-Received: (at 37769) by debbugs.gnu.org; 17 Oct 2019 16:00:58 +0000 Original-Received: from localhost ([127.0.0.1]:48788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iL8Cv-0000aT-Lm for submit@debbugs.gnu.org; Thu, 17 Oct 2019 12:00:58 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:15363 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1iL8Cr-0000aI-Vc for 37769@debbugs.gnu.org; Thu, 17 Oct 2019 12:00:55 -0400 Original-Received: (qmail 92866 invoked by uid 3782); 17 Oct 2019 16:00:53 -0000 Original-Received: from acm.muc.de (p4FE15CD5.dip0.t-ipconnect.de [79.225.92.213]) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 17 Oct 2019 18:00:50 +0200 Original-Received: (qmail 4798 invoked by uid 1000); 17 Oct 2019 16:00:50 -0000 Content-Disposition: inline In-Reply-To: X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:169596 Archived-At: Hello, Andreas. On Thu, Oct 17, 2019 at 11:17:48 +0200, Andreas Schwab wrote: > On Okt 15 2019, Alan Mackenzie wrote: > > As a consequence, it is impossible to use M-x global-set-key to bind > > S-tab on a tty where local-function-key-map converts S-tab to [33554441] > > = 2^25 + 9. > Why is that wrong? [33554441] _is_ S-TAB. Yes. But if you type the key binding into M-x global-set-key, it will erroneously bind TAB rather than S-TAB. > Andreas. > -- > Andreas Schwab, SUSE Labs, schwab@suse.de > GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 > "And now for something completely different." -- Alan Mackenzie (Nuremberg, Germany).