unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>, Stefan Kangas <stefan@marxist.se>
Cc: antoine.levitt@gmail.com, 11011@debbugs.gnu.org
Subject: bug#11011: Binding S-TAB
Date: Thu, 20 Aug 2020 13:16:04 -0700 (PDT)	[thread overview]
Message-ID: <f9b71f3c-a1a8-4d80-9878-235e39b19a64@default> (raw)
In-Reply-To: <<83y2m9az4w.fsf@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 ;-).

I was going to say the same thing, or similar.

`TAB` = `C-i`.

`TAB' is not the same as `<tab>'.

(kbd "S-<tab>") => [S-tab]
(kbd "S-TAB")   => [33554441]





       reply	other threads:[~2020-08-20 20:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<87aa3jy7u0.fsf@gmail.com>
     [not found] ` <<CADwFkmkUz0ihO8JxPP1pd8uax7347WPEwQ8K0MOv84sKvJkkhw@mail.gmail.com>
     [not found]   ` <<83y2m9az4w.fsf@gnu.org>
2020-08-20 20:16     ` Drew Adams [this message]
     [not found]     ` <<CADwFkmkGyT_YQBdJ=OVoTr_7piyhDua3+qv5AmTYmeedqFpg-g@mail.gmail.com>
     [not found]       ` <<83o8n4bkc2.fsf@gnu.org>
     [not found]         ` <<CADwFkm=H51EDt07C0ePRxtdcKyBopaupwremUcRgqD8XVerN+w@mail.gmail.com>
     [not found]           ` <<83k0xsbhh8.fsf@gnu.org>
2020-08-21 15:17             ` bug#11011: Binding S-TAB Drew Adams
2012-03-14  7:12 Antoine Levitt
2012-03-14  8:53 ` David De La Harpe Golden
2012-03-14  8:58   ` Antoine Levitt
2012-03-14  9:12     ` David De La Harpe Golden
2020-08-20 19:06 ` Stefan Kangas
2020-08-20 19:35   ` Eli Zaretskii
2020-08-20 21:41     ` Stefan Kangas
2020-08-21  6:10       ` Eli Zaretskii
2020-08-21  6:55         ` Stefan Kangas
2020-08-21  7:12           ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f9b71f3c-a1a8-4d80-9878-235e39b19a64@default \
    --to=drew.adams@oracle.com \
    --cc=11011@debbugs.gnu.org \
    --cc=antoine.levitt@gmail.com \
    --cc=eliz@gnu.org \
    --cc=stefan@marxist.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).