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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs and tab stops


From: Kevin Rodgers
Subject: Re: emacs and tab stops
Date: Wed, 10 Sep 2008 22:53:03 -0600
User-agent: Thunderbird 2.0.0.16 (Macintosh/20080707)

tano wrote:
Hello,
I used to run emacs always in fundamental mode, because I do not
like automatic indentation, so I put a line in my .emacs file
like (setq auto-mode-alist nil) to leave my tab stop every 8 chars.
However with new versions of emacs seems that things are changed.
Even if I run fundamental mode, tab stops does not follow the standard
indentation every 8 chars, but goes in the first char after a space
on the previous line, for example.
How can I set up things so that it work as I want?
The previous answer talk me about setting tab stops, but
looking at the tab stop variable all seems to be set correctly,
every 8 chars, but however I do not get what I want..

1. In Fundamental mode: C-h k TAB

2. In *Help* buffer: follow the link for indent-line-function

3. C-h f indent-relative (I don't know why this isn't a link)

That suggests to me: (setq indent-line-function 'tab-to-tab-stop)

That by itself may disable automatic indentation, so you can
leave auto-mode-alist alone and get all the other benefits of
the various major modes.

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

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