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: Steve Taylor
Subject: Re: TAB key to insert tab character
Date: Sat, 09 Feb 2008 08:13:09 -0500
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1.50 (gnu/linux)

Blake McBride <blake@mcbride.name> writes:

> Didn't help.  I tried nil and non-nil and created a new buffer each time
> (t.txt) and it didn't change anything.  And, yes, I did save it for the
> current session first.
>
> Thanks.
>
> Blake McBride
>
>
> Drew Adams wrote:
>>> I have the TAB key doing exactly what I want when editing C or Lisp
>>> programs but I can't get it to do what I want in TEXT or FUNDAMENTAL
>>> modes.  I did try to get rid of my .gnu-emacs-custom file
>>> temporarily to
>>> verify that none of my other customizations were causing the problem.

<your emacs-binary> -q --no-site-file

>>>
>>> What is happening is that when I hit the TAB key it inserts a
>>> number of
>>> spaces to line the cursor up with the second word of the previous
>>> sentence.  What I want (in TEXT & FUNDAMENTAL modes) is for
>>> the TAB key
>>> to just add a TAB.  Not an equivalent number of spaces for a
>>> TAB or to
>>> line it up with the previous line's second word - just add a
>>> single TAB
>>> character.
>>
>> See option `indent-tabs-mode'.
>>
>>
>>

I'm getting tabs in text-mode, with and without customizations in
debian emacs 21.4.1 and emacs-snapshot (22.1.50.1). Have
you set:

(setq tab-always-indent t)

-- 




reply via email to

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