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

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

C mode formating


From: msolem
Subject: C mode formating
Date: Fri, 16 Nov 2007 13:35:00 -0800 (PST)
User-agent: G2/1.0

Hello,

I just started working on a project where the coding style looks like
this:

void func(void)
{
    some stuff;
    if(i == 1)
        {
        more stuff;
        }
}


I've played around with the different modes and indent levels, but
can't seem to get it to work like above.  The problem is getting it to
not use any offset on the first brace of a function, but to have
offset for braces used inside the function.  Any ideas?



Mike


reply via email to

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