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

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

Re: Indentation settings problems


From: TriKri
Subject: Re: Indentation settings problems
Date: Wed, 23 Sep 2009 01:38:35 -0700 (PDT)

I added the code (setq-default tab-width 4 indent-tabs-mode t) to the file
(\AppData\Roaming\.emacs in my user folder in windows) as you said, but it
doesn't work. If the indentation is made two times (2 times*2 spaces) it
will insert a tab instead, so that works, and the tab width is set to 4.

What confuses me is that the variable standard-indent is set to 4 (and C
Basic Offset is set to Use style settings), but it still indents with two
spaces! Isn't standard-indent the right variable to change? I really have no
idea of what more could be wrong. The standard-indent is said to be 4 by
default, but it indented with 2 spaces right from the beginning when I had
installed Emacs.

-Kristofer
-- 
View this message in context: 
http://www.nabble.com/Indentation-settings-problems-tp25520490p25531038.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





reply via email to

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