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

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

Indentation Customization


From: Dave Lee
Subject: Indentation Customization
Date: Wed, 6 Jun 2001 16:48:23 -0400 (EDT)

I want to change the indentation used in C and C++ modes.

I need 1 space for the first level, and 3 spaces after that.

E.g.:

int myfunc() throw()
{
 Statement1();
 Statement2();
 while ( expr )
 {
    Statement3();
    {
       Statement4();
       Statement5();
    }
 }
}

Does anyone know what I must place in my .emacs file?

Dave

###############################################################
#  Dave Lee                     Peregrine Systems             #
#  Software Developer           210-955 Greenvalley Crescent  #
#  dave.lee@peregrine.com       Ottawa ON, Canada             #
#  tel:613-274-6823             K2C 3V4                       #
#  fax:613-723-7209                                           #
###############################################################




reply via email to

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