On 2009-07-06 04:09+0300 Dmitri Gribenko wrote:

> [...]astyle is much less strict that indent and it doesn't try to re-format
> everything like indent does.  Here's a script for it:
>
> #!/bin/bash
>
> exec astyle \
>  --indent=spaces=2 \
>  --brackets=linux \
>  --indent-classes \
>  --indent-switches \
>  --indent-cases \
>  --pad-oper \
>  --unpad-paren \
>  --convert-tabs

Hi Dmitri:

Are the options you have chosen here consistent with the Google
summer-of-code style?  I haven't reviewed the above options in detail, but
just from the names it appears to me that --indent=spaces=4 and --pad-paren
should be chosen to be consistent with the PLplot style consensus that Geoff
expressed.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to