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

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

Re: Indentation settings problems


From: jpkotta
Subject: Re: Indentation settings problems
Date: Mon, 21 Sep 2009 14:27:27 -0700 (PDT)
User-agent: G2/1.0

On Sep 20, 1:37 pm, TriKri <kristoferk...@hotmail.com> wrote:
> Bernardo Bacic wrote:
>
> > 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
>
> In which file should I add it? I can't find any file ending with .emacs. I
> made a search in the entire emacs folder and ordered by date last modified,
> but no file is modified later than July this year, and I have made changes
> in the options this month. So, where is the file located? Is there any quick
> way to add it with emacs?
> --
> View this message in 
> context:http://www.nabble.com/Indentation-settings-problems-tp25520490p255301...
> Sent from the Emacs - Help mailing list archive at Nabble.com.

You may want to try c-basic-offset too.  It specifies how many columns
each indentation level differs by when you use syntactic indentation.
You can change it with setq-default or use customization.

M-x customize-group RET c RET


reply via email to

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