all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Stefan Monnier'" <monnier@IRO.UMontreal.CA>,
	"'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, 7 Feb 2013 11:47:34 -0800	[thread overview]
Message-ID: <E2F8A6285EB3486EB4B0DAAD5CE7AA02@us.oracle.com> (raw)
In-Reply-To: <jwva9rgc7iu.fsf-monnier+emacs@gnu.org>

> > (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)


Or just this, no?

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




  parent reply	other threads:[~2013-02-07 19:47 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
2013-02-07 18:23       ` Ivan Kanis
2013-02-07 19:47       ` Drew Adams [this message]
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=E2F8A6285EB3486EB4B0DAAD5CE7AA02@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=apple@kanis.fr \
    --cc=banana@kanis.fr \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /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.