"Diethelm Guallar, Gonzalo" wrote:
> 
> Ok, one question. The Turbine Coding Conventions advocate
> this brace style:
> 
>     if ( foo )
>     {
>         // code here
>     }
> 
> but the default emacs (JDE) indent function produces this
> code:
> 
>     if ( foo )
>         {
>             // code here
>         }
> 
> Anybody knows how to configure emacs for the first, recommended
> style?

M-x c-set-offset substatement-open 0

If you search the mailist list archive, you'll find a snippet from my
.emacs file to handle this permanently.  Eventually, I'll get around to
adding this to the coding conventions page.  Sorry it's not up there
yet, I'm lagging.  ;)
-- 

Daniel Rall <[EMAIL PROTECTED]>
http://collab.net/ | open source | do the right thing


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to