[ros-kernel] Re: Coding style/indentation (again!?)

Gunnar André Dalsnes hardon at online.no
Sat Feb 7 20:06:30 CET 2004


> On the other hand, I like the indent checking and commit 
> rejection option. How
> about a directive at the top of the file which controls what 
> checking will 
> be done.
> checking could default to none, and you could place a line at 
> the top of 
> the file
> like:
> 
> /* $filter: indent -flags -you -want -here$ */
> 
> CVS could scan for these directives and pass them file through the 
> filter.  (I would
> not allow arbitrary programs as filters, as nefarious things might be 
> possible.)
> We could have a few different filters available to cover 
> different kinds of 
> source files
> to be handled.

Good enough for me. But rememer to include the version number
(indent226, indent229 etc.) because one version may behave diffrent from
the other (indent 2.2.6 and 2.2.9 produce different result with same
params).

-Gunnar



More information about the Ros-kernel mailing list