From: Xue Fuqiao <xfq.free@gmail.com>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 'Emacs Development List' <emacs-devel@gnu.org>,
'Stefan Monnier' <monnier@IRO.UMontreal.CA>,
'Ivan Kanis' <apple@kanis.fr>, 'Ivan Kanis' <banana@kanis.fr>
Subject: Re: C-i and TAB
Date: Fri, 8 Feb 2013 07:56:02 +0800 [thread overview]
Message-ID: <20130208075602.b1c5796e0c25075020e19daa@gmail.com> (raw)
In-Reply-To: <E2F8A6285EB3486EB4B0DAAD5CE7AA02@us.oracle.com>
On Thu, 7 Feb 2013 11:47:34 -0800
"Drew Adams" <drew.adams@oracle.com> wrote:
> > > (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)
Their effect should be the same.
--
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao
next prev parent reply other threads:[~2013-02-07 23:56 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
2013-02-07 23:56 ` Xue Fuqiao [this message]
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=20130208075602.b1c5796e0c25075020e19daa@gmail.com \
--to=xfq.free@gmail.com \
--cc=apple@kanis.fr \
--cc=banana@kanis.fr \
--cc=drew.adams@oracle.com \
--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.