From: "Ivan Kanis" <banana@kanis.fr>
To: "Xue Fuqiao" <xfq.free@gmail.com>
Cc: 'Stefan Monnier' <monnier@iro.umontreal.ca>,
Drew Adams <drew.adams@oracle.com>,
'Emacs Development List' <emacs-devel@gnu.org>
Subject: Re: C-i and TAB
Date: Fri, 8 Feb 2013 02:35:22 +0100 [thread overview]
Message-ID: <e2e2a64c67214a77dbb9258920c13329.squirrel@kanis.fr> (raw)
In-Reply-To: <20130208075602.b1c5796e0c25075020e19daa@gmail.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.
>
I like Andrew's best. I have never been a fan of the "native" keybinding
representation.
next prev parent reply other threads:[~2013-02-08 1:35 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
2013-02-08 1:35 ` Ivan Kanis [this message]
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=e2e2a64c67214a77dbb9258920c13329.squirrel@kanis.fr \
--to=banana@kanis.fr \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=xfq.free@gmail.com \
/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.