[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Indent?



<quote who="Hallvard B Furuseth">
> Gavin Henry writes:
>> Do any of you use indent or similar for cleaning up OpenLDAP code and
>> have a ~/.my_rules to share?
>
> I don't know how to make indent output OpenLDAP's spacing around parens.
> And I'm not sure what the rules are anyway.  Space inside but not
> outside parens in function calls, (usually) no space between multiple
> parens, space after if/while/for, don't know what else.
>
> Since I also don't know how to make indent leave those spaces alone, I'm
> not sure if this will be of any use to you, but I think this should come
> close for the rest:
>
<snip>

Thanks for this. Will try later.

Gavin.