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

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

RE: How to set tab to be 4 (!) spaces for indention?


From: Drew Adams
Subject: RE: How to set tab to be 4 (!) spaces for indention?
Date: Tue, 18 Dec 2007 12:13:56 -0800

> It's so annoooooooooooooying that the default indention is only 2
> spaces.
> I googled a lot but cannot change this.
> For example, I tried
> (setq default-tab-width 4)
> in the .emacs file.
> But it don't change nothing!
> How can I make the indention to be 4 spaces?

Does this help?

http://www.emacswiki.org/cgi-bin/wiki/IndentationBasics
http://www.emacswiki.org/cgi-bin/wiki/TabStopList

You can also read the Emacs manual. Try `i' in the manual, enter `tab' and
hit the TAB key to see manual sections that are pertinent.





reply via email to

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