[Insight-developers] Anyone got Emacs config for ITK-standard indentation?
Kent Williams
norman-k-williams@uiowa.edu
Wed, 30 Apr 2003 09:09:53 -0500
So my latest checkins were criticized for indentation style; sorry! My=20
problem is that I either have to turn off auto-indent in Emacs, or trick =
it=20
into enforcing the ITK coding standards -- in particular, Emacs wants to =
do=20
this:
=09if ( this )
=09=09{
=09=09=09Do That;
=09=09}
And ITK wants:
=09if ( this )
=09=09{
=09=09Do That;
=09=09}
I also gather from Bill's reformatting that there's no indent inside a=20
namespace. Emacs doesn't want to do that either.
I know that C++-mode in Emacs is configurable, and I'm willing to slog in=
to it=20
and figure it out, but if someone else has already done this, please shar=
e!=20
Thanks!