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

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

ratliff indentation style, peculiar indentation of close brace


From: Jim Newton
Subject: ratliff indentation style, peculiar indentation of close brace
Date: Thu, 4 Aug 2016 07:49:37 -0700 (PDT)
User-agent: G2/1.0

I'm working on an open source project which uses Ratliff style indentation for 
C++ code.
I'm not a particular fan but I want to obey the coding guidelines.  I don't 
find anything with
a google search.  Can emacs c++ indentation support this style.

The curious thing about this style is that it aligns the close brace with the 
indentation as follows.

while (something)
    do_something();
    do_something_else();
    } ;; brace is commented like this.


Does someone know of a way to make c++ indentation do this?

Thanks if anyone can help.


reply via email to

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