<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>RE: [postgis-devel] astyle</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Yah the xml/xsl thing is kind of messy.  Probably my fault my tab thing just doesn't seem to work right with the current xml and how I managed to mess up the xsl not sure.  I fair reindenting the xml with the program listing part having carefully juxtaposed spaces.<BR>
<BR>
Since we are on the brink of a religious war I vote for tab=4 in the code base :)  8 is so much.  Its hard to deal with 8 with a lot of nesting.<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: postgis-devel-bounces@postgis.refractions.net on behalf of Kevin Neufeld<BR>
Sent: Tue 10/7/2008 6:19 PM<BR>
To: PostGIS Development Discussion<BR>
Subject: Re: [postgis-devel] astyle<BR>
<BR>
Personally, I think it's a good idea to have a formatting standard (even<BR>
though I prefer the --style=kr :) ).  But I do echo Charlie's comment,<BR>
why not just reformat everything all at once?<BR>
<BR>
It's too bad astyle doesn't support xml or xsl, because the<BR>
documentation could use a once over as well.<BR>
<BR>
-- Kevin<BR>
<BR>
Paul Ramsey wrote:<BR>
> If you've edited PostGIS source, you've quickly become frustrated with<BR>
> the ghastly mix of tabs and spaces used to format code. I would like<BR>
> to propose that we begin re-formatting the source incrementally, by<BR>
> making the use of<BR>
><BR>
> astyle --style=ansi --indent=tab=8<BR>
><BR>
> on any .c/.h files we are about to modify.<BR>
><BR>
> - I'm about to modify foo.c!<BR>
> - astyle --style=ansi --indent=tab=8 foo.c<BR>
> - svn commit -m "Reformat!" foo.c<BR>
> - remember to set my editor to use tabs, not spaces, for block indents<BR>
> - Ok, make my changes now.<BR>
><BR>
> Sound OK?<BR>
><BR>
> Paul<BR>
> _______________________________________________<BR>
> postgis-devel mailing list<BR>
> postgis-devel@postgis.refractions.net<BR>
> <A HREF="http://postgis.refractions.net/mailman/listinfo/postgis-devel">http://postgis.refractions.net/mailman/listinfo/postgis-devel</A><BR>
_______________________________________________<BR>
postgis-devel mailing list<BR>
postgis-devel@postgis.refractions.net<BR>
<A HREF="http://postgis.refractions.net/mailman/listinfo/postgis-devel">http://postgis.refractions.net/mailman/listinfo/postgis-devel</A><BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>
<HTML><BODY><P><hr size=1></P>
<P><STRONG>
The substance of this message, including any attachments, may be confidential, legally privileged and/or exempt from disclosure pursuant to Massachusetts law. It is intended solely for the addressee. If you received this in error, please contact the sender and delete the material from any computer.
</STRONG></P></BODY></HTML>

<P><hr size=1></P>
<P><STRONG><font size="2" color="339900"> Help make the earth a greener place. If at all possible resist printing this email and join us in saving paper. </p> <p> </font></STRONG></P>