From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#11011: Binding S-TAB Date: Thu, 20 Aug 2020 13:16:04 -0700 (PDT) Message-ID: References: <<87aa3jy7u0.fsf@gmail.com>> <> <<83y2m9az4w.fsf@gnu.org>> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30551"; mail-complaints-to="usenet@ciao.gmane.io" Cc: antoine.levitt@gmail.com, 11011@debbugs.gnu.org To: Eli Zaretskii , Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 20 22:19:24 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k8r1w-0007qh-Ep for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Aug 2020 22:19:24 +0200 Original-Received: from localhost ([::1]:51594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8r1v-0000pp-H5 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Aug 2020 16:19:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8r1a-0000pc-Vw for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 16:19:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60951) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k8r1a-0007B7-Mb for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 16:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k8r1a-0004nn-J7 for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 16:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Aug 2020 20:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11011 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 11011-submit@debbugs.gnu.org id=B11011.159795470018399 (code B ref 11011); Thu, 20 Aug 2020 20:19:02 +0000 Original-Received: (at 11011) by debbugs.gnu.org; 20 Aug 2020 20:18:20 +0000 Original-Received: from localhost ([127.0.0.1]:44261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8r0u-0004mg-5S for submit@debbugs.gnu.org; Thu, 20 Aug 2020 16:18:20 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:51162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8r0p-0004mQ-MY for 11011@debbugs.gnu.org; Thu, 20 Aug 2020 16:18:18 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 07KKH0VN039650; Thu, 20 Aug 2020 20:18:07 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=ZACzBoiF84y2kypnCzPl8Njz3PQEgDwUZeHLNHNkfzM=; b=PR7PIUQX9YY9YfZPNB7FAW12m5ucbzyquBjZbe+E6uqfu7vboZKkezUvdPT1On+rezoX RnRRLZ8y05Nfrbawdgo2D9606Aevibg6Hvhp4xdqxcNwx/wXm5BHWnGlj5scLPMSyBvj A8/hwjWBFU5v2LFAuOz1z6TOfnYejaXyIsvHysnI4PFqY5XIJ1EDbezbGxdsUKfXPxIL VdqJPDA7ds5pVwAuA4lDbexs7CLFE5KpZ7+3WEu1CEoj519zJYu7M4wzrUIaoteZ+D9I COBjw/Lf88qIRr6g9ZVSBzQHDagrmyl8ofnxFSM9Xsz2tgj6N95olOgUxttQcrVkK6TG WQ== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2120.oracle.com with ESMTP id 32x8bnjpk4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 20 Aug 2020 20:18:07 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 07KKEeZI140053; Thu, 20 Aug 2020 20:16:07 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3020.oracle.com with ESMTP id 32xsfvfeg0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 20 Aug 2020 20:16:07 +0000 Original-Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 07KKG5Ya019199; Thu, 20 Aug 2020 20:16:05 GMT In-Reply-To: <<83y2m9az4w.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5017.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9718 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxlogscore=999 spamscore=0 suspectscore=0 mlxscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008200162 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9718 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 lowpriorityscore=0 impostorscore=0 suspectscore=0 adultscore=0 spamscore=0 malwarescore=0 mlxlogscore=999 priorityscore=1501 bulkscore=0 clxscore=1011 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008200162 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:185787 Archived-At: > > 0. emacs -Q > > 1. (global-set-key (kbd "S-TAB") (lambda () (message "FOO"))) > > 2. S-TAB > > > > And see the following error: " is undefined" >=20 > You say "S-TAB", but that's not the key you pressed. You pressed > , a function key, whereas S-TAB is a shifted ASCII character. > Try "C-S-i" instead (which will also reveal a minor unrelated bug in > your recipe ;-). I was going to say the same thing, or similar. `TAB` =3D `C-i`. `TAB' is not the same as `'. (kbd "S-") =3D> [S-tab] (kbd "S-TAB") =3D> [33554441]