[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TAB key to insert tab character
From: |
Will Parsons |
Subject: |
Re: TAB key to insert tab character |
Date: |
10 Feb 2008 01:18:41 GMT |
User-agent: |
slrn/0.9.8.1 (FreeBSD) |
Eli Zaretskii wrote:
>> From: Will Parsons <oudeis@nodomain.invalid>
>> Date: 9 Feb 2008 17:58:58 GMT
>>
>> You could do what I do - bind Ctrl-Tab to insert an ASCII <tab>:
>>
>> (global-set-key [C-tab] (lambda () (interactive) (insert-char 9 1)))
>
> I think it's better to bind TAB to self-insert-command:
>
> (global-set-key "\C-i" 'self-insert-command)
I think you misunderstand - I'm perfectly happy to have <tab> do its
usual default action, but I also want to have the ability to insert a
<tab> character often enough to want something more convenient than
C-q TAB, and for this I use [C-tab]. Whether this is acceptable to the
OP is another matter, but since he rejected C-q Tab as too inconvenient,
I thought it worth his consideration.
- Will
- Re: TAB key to insert tab character, (continued)
Re: TAB key to insert tab character, Peter Dyballa, 2008/02/09
Message not available
- Re: TAB key to insert tab character, Blake McBride, 2008/02/09
- Re: TAB key to insert tab character, Will Parsons, 2008/02/09
- Re: TAB key to insert tab character, Eli Zaretskii, 2008/02/09
- Re: TAB key to insert tab character, Blake McBride, 2008/02/09
- Re: TAB key to insert tab character, Eli Zaretskii, 2008/02/09
- Message not available
- Re: TAB key to insert tab character, Blake McBride, 2008/02/12
- Re: TAB key to insert tab character, Eli Zaretskii, 2008/02/12
Message not availableRe: TAB key to insert tab character,
Will Parsons <=