[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: C-i and TAB
From: |
Drew Adams |
Subject: |
RE: C-i and TAB |
Date: |
Thu, 7 Feb 2013 18:46:24 -0800 |
> > > > (global-set-key (kbd "C-i") 'foo)
> > > > (global-set-key (kbd "TAB") 'bar)
> > >
> > > 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.
That was the point.
You can use `kbd' as originally attempted.
You just need to know the external representation <tab>.