all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
To: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Is something wrong with `kbd'?
Date: Tue, 9 Feb 2010 20:10:53 +0100	[thread overview]
Message-ID: <7b501d5c1002091110p5ee5f0c4sed8d15b730c4cbb8@mail.gmail.com> (raw)

One user in #emacs on Freenode just stumbled across something that
looks like a bug to me.

(global-set-key (kbd "C-TAB") 'mode-line-other-buffer)

Using that and then hitting C-TAB gives me "<C-tab> is undefined".
From the documentation for `edmacro-mode':

 * The special words RET, SPC, TAB, DEL, LFD, ESC, and NUL represent
  special control characters.  The words must be written in uppercase.

 * One or more prefixes M- (meta), C- (control), S- (shift), A- (alt), ...

What's going on here?

(kbd "C-TAB") returns [67108873], whatever that's supposed to be.
(kbd "<C-tab>") returns [C-tab].

--
Deniz Dogan




             reply	other threads:[~2010-02-09 19:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-09 19:10 Deniz Dogan [this message]
2010-02-09 20:16 ` Is something wrong with `kbd'? Davis Herring

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

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

  git send-email \
    --in-reply-to=7b501d5c1002091110p5ee5f0c4sed8d15b730c4cbb8@mail.gmail.com \
    --to=deniz.a.m.dogan@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.