[Top][All Lists]

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

Re: Emacs changed indenting on me

From: Greg Rowe
Subject: Re: Emacs changed indenting on me
Date: Thu, 30 Sep 2004 08:48:12 -0400
User-agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.)

On Wed, 29 Sep 2004 14:09:40 -0700, Sarir Khamsi wrote:

> Thanks, but does that change the indentation amount (ie, number of
> spaces) and comment character placement? I don't see a call to that in
> my ~/.emacs file.

Yes it does.  It can completely change the indentation style including the
number of spaces.

If the spaces do not suit you you can change that by setting the
c-basic-offset variable.  For example, I like 5 spaces per indent:

(setq c-basic-offset 5)

In reality I use the stroustroup indentation style which uses a
basic-offset of 5 anyhow.


Home is where the .bashrc is.

reply via email to

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