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

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

Re: C mode formating


From: msolem
Subject: Re: C mode formating
Date: Fri, 16 Nov 2007 14:11:47 -0800 (PST)
User-agent: G2/1.0

Never mind.  Found the answer here:
http://cc-mode.sourceforge.net


On Nov 16, 4:35 pm, mso...@linuxmail.org wrote:
> 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]