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

Re: customizing Emacs



Tuomas Pellonpera <tp58494@uta.fi> writes:

> However, I noticed that in bsd style the indentation level seems to be 4.
> I would like it to be 3. How could I accomplish this SIMPLE customization?
> I tried to find the answer in
> http://www.gnu.org/manual/emacs-20.3/html_mono/emacs.html, but no avail.
> (I'm sure the answer IS there, I just couldn't get it.)
> I pasted my erroneus .emacs file at the end of this message. Could someone
> show me how to set the indentation level to 3? Much oblige!
> 

I changed my indentation to K&R with an indentation of 8. I accomplished
the latter with the following line, which resets the c-basic-offset
variable to 8 instead of the former value:

(setq c-basic-offset 8)

HTH



Reply to: