all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: "Ivan Kanis" <apple@kanis.fr>
Cc: Ivan Kanis <banana@kanis.fr>,
	Emacs Development List <emacs-devel@gnu.org>
Subject: Re: C-i and TAB
Date: Thu, 07 Feb 2013 13:19:36 -0500	[thread overview]
Message-ID: <jwva9rgc7iu.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <3fcc34480d966b8421243cb2dd420c8d.squirrel@kanis.fr> (Ivan Kanis's message of "Thu, 7 Feb 2013 18:21:27 +0100")

> (global-set-key (kbd "C-i") 'foo)
> (global-set-key (kbd "TAB") 'bar)

`kbd's syntax defines TAB as equivalent to C-i, so the above two
instructions bind the same key.

Try

(global-set-key [?\C-i] 'foo)
(global-set-key [tab] 'bar)


        Stefan



  reply	other threads:[~2013-02-07 18:19 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-07 15:21 C-i and TAB Ivan Kanis
2013-02-07 16:00 ` Andreas Schwab
2013-02-07 16:44 ` Stefan Monnier
2013-02-07 17:21   ` Ivan Kanis
2013-02-07 18:19     ` Stefan Monnier [this message]
2013-02-07 18:23       ` Ivan Kanis
2013-02-07 19:47       ` Drew Adams
2013-02-07 23:56         ` Xue Fuqiao
2013-02-08  1:35           ` Ivan Kanis
2013-02-08  2:46           ` Drew Adams
     [not found] <mailman.1036074155.21234.help-gnu-emacs@gnu.org>
2002-10-31 15:26 ` C-i and tab Boris H.
2002-10-31 18:52   ` Eli Zaretskii
     [not found]   ` <mailman.1036095163.1063.help-gnu-emacs@gnu.org>
2002-10-31 21:25     ` Stefan Monnier <foo@acm.com>
2002-11-04  9:57     ` Boris H.
2002-11-07  7:48       ` maierh
  -- strict thread matches above, loose matches on Subject: below --
2002-10-31 13:33 Boris H.
2002-10-31 14:20 ` Eli Zaretskii
2002-10-17  9:12 C-i and TAB Boris H.

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=jwva9rgc7iu.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=apple@kanis.fr \
    --cc=banana@kanis.fr \
    --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.