all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ratliff indentation style, peculiar indentation of close brace
@ 2016-08-04 14:49 Jim Newton
  2016-08-05 18:59 ` Alan Mackenzie
  0 siblings, 1 reply; 2+ messages in thread
From: Jim Newton @ 2016-08-04 14:49 UTC (permalink / raw)
  To: help-gnu-emacs

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-05 18:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-04 14:49 ratliff indentation style, peculiar indentation of close brace Jim Newton
2016-08-05 18:59 ` Alan Mackenzie

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.