> 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).


-- 
Matthew Fuller     (MF4839)   |  [email protected]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.
style=kr

# Tabs
indent=tab=8

# Indent switch() and case's.
indent-switches
# It looks like this actually makes cases with blocks indent twice.
# That's not what we want.
#indent-cases

# Don't push too far
# Astyle refuses to accept less than 40.  Idiots.
#max-instatement-indent=16

# Space around operators
pad-oper

# Get rid of spaces around parens (I actually wish this were a little
# more discriminating, but this is an improvement on the current state)
unpad-paren

# Align * and & and such to the name
align-pointer=name
align-reference=name

# Don't cuddle elses
break-closing-brackets

# Bracket one-liners.  This has the nice side effect that we break up
# one-liners.
add-brackets

# Use tabs only for indent levels, spaces for alignment below that
convert-tabs

# 80 char lines
max-code-length=80

# \n
lineend=linux

Reply via email to