help-gnu-emacs
[Top][All Lists]
Advanced

[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: 9 Feb 2008 17:58:58 GMT
User-agent: slrn/0.9.8.1 (FreeBSD)

Blake McBride wrote:
> Peter Dyballa wrote:
>> 
>> Am 09.02.2008 um 00:36 schrieb Blake McBride:
>> 
>>> What I want (in TEXT & FUNDAMENTAL modes) is for the TAB key to just 
>>> add a TAB.
>> 
>> C-q TAB – is this a choice?
>
> Of course not.  It does work, but I'm not going to type C-q TAB every 
> time I want a TAB any more than I'm willing to type C-q R every time I 
> want an "R".

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)))

- Will


reply via email to

[Prev in Thread] Current Thread [Next in Thread]