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 #28 received at 11011 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 11011 <at> debbugs.gnu.org, antoine.levitt <at> gmail.com
Subject: Re: bug#11011: Binding S-TAB
Date: Thu, 20 Aug 2020 22:35:59 +0300
> 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 ;-).




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

Previous Next


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