On Sun 08 Jun 2014 at 12:48:17 -0500, Matthew D. Fuller wrote: > > I've attached 2 strawman control files with moderately alternate > > outputs. > > So, here's another trial based on the priors and discussion. This > uses K&R bracing, tab indents, and adds brackets onto one-line > conditionals/loops (which has the salutary effect of breaking the > oneliners too).
I like it! It isn't 100% the way I'd do it myself but it is really close, so that makes me happy :-) No two people seem to be able to agree on the exact same style anyway, so I'm quite happy with this. And it quite agressively adjusts the braces to the stated style, which is good - I have seen reformatters which sometimes to a half-assed job on those things and then you still don't have a consistent layout. Setting "formatprg" in Vim will even make it easy for me to reformat automatically. > Matthew Fuller (MF4839) | [email protected] -Olaf. -- ___ Olaf 'Rhialto' Seibert -- The Doctor: No, 'eureka' is Greek for \X/ rhialto/at/xs4all.nl -- 'this bath is too hot.'
pgpWbWR8LbJw4.pgp
Description: PGP signature
