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

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

Re: Indentation settings problems


From: Bernardo
Subject: Re: Indentation settings problems
Date: Sun, 20 Sep 2009 12:18:06 +1000
User-agent: Thunderbird 2.0.0.23 (X11/20090812)


So, I would prefer 4 spaces instead of 2, or even better, a tab
-Kristofer

er, don't know about the menus - i never use them and have them turned off, but the following in your .emacs should work:

(setq-default tab-width 4
              indent-tabs-mode t)

you could quickly evaluate it with C-x C-e to see its effect

just to clarify this a bit further, you may need to 'tabify' your buffer to see the desired effect, mark the whole buffer with C-x h and tabify with M-x tabify




reply via email to

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