[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C-i and TAB
From: |
Ivan Kanis |
Subject: |
Re: C-i and TAB |
Date: |
Fri, 8 Feb 2013 02:35:22 +0100 |
User-agent: |
SquirrelMail/1.4.21 |
> On Thu, 7 Feb 2013 11:47:34 -0800
> "Drew Adams" <address@hidden> 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.
- C-i and TAB, Ivan Kanis, 2013/02/07
- Re: C-i and TAB, Andreas Schwab, 2013/02/07
- Re: C-i and TAB, Stefan Monnier, 2013/02/07
- Re: C-i and TAB, Ivan Kanis, 2013/02/07
- Re: C-i and TAB, Stefan Monnier, 2013/02/07
- RE: C-i and TAB, Drew Adams, 2013/02/07
- Re: C-i and TAB, Xue Fuqiao, 2013/02/07
- Re: C-i and TAB,
Ivan Kanis <=
- RE: C-i and TAB, Drew Adams, 2013/02/07
- Re: C-i and TAB, Ivan Kanis, 2013/02/07