GNU bug report logs - #11011
kbd and TAB with modifiers (eg S-TAB)

Previous Next

Package: emacs;

Reported by: Antoine Levitt <antoine.levitt <at> gmail.com>

Date: Wed, 14 Mar 2012 07:44:01 UTC

Severity: normal

Tags: confirmed, notabug

Found in version 28.0.50

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Forwarded to http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00037.html

Full log


Message #34 received at 11011 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 11011 <at> debbugs.gnu.org, antoine.levitt <at> gmail.com
Subject: Re: bug#11011: Binding S-TAB
Date: Thu, 20 Aug 2020 14:41:19 -0700
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Stefan Kangas <stefan <at> marxist.se>
>> Date: Thu, 20 Aug 2020 12:06:44 -0700
>> Cc: 11011 <at> debbugs.gnu.org
>>
>> 0. emacs -Q
>> 1. (global-set-key (kbd "S-TAB") (lambda () (message "FOO")))
>> 2. S-TAB
>>
>> And see the following error: "<backtab> is undefined"
>
> You say "S-TAB", but that's not the key you pressed.  You pressed
> <backtab>, 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 ;-).

Hmm, now I see.  This stuff always manages to confuse me.  And I guess
it also managed to confused Chong Yidong...?

Not sure if there's anything to do here, if this is as it should be.
Notabug?

Best regards,
Stefan Kangas




This bug report was last modified 4 years and 332 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.