[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C-i and TAB
From: |
Xue Fuqiao |
Subject: |
Re: C-i and TAB |
Date: |
Fri, 8 Feb 2013 07:56:02 +0800 |
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.
--
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao
- 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 <=
- Re: C-i and TAB, Ivan Kanis, 2013/02/07
- RE: C-i and TAB, Drew Adams, 2013/02/07
- Re: C-i and TAB, Ivan Kanis, 2013/02/07