Subject: bug#11011: Binding S-TAB

From: Eli Zaretskii <[email-masked]>
Date: Thu, 20 Aug 2020 22:35:59 +0300

> From: Stefan Kangas <[email-masked]>
> Date: Thu, 20 Aug 2020 12:06:44 -0700
> Cc: [email-masked]
> 
> 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 ;-).