[postgis-devel] astyle

Paul Ramsey pramsey at cleverelephant.ca
Tue Oct 7 15:00:35 PDT 2008


Every second you spend discussing the details of this is another less
second you have to live... :)

On Tue, Oct 7, 2008 at 2:43 PM, Charlie Savage <cfis at savagexi.com> wrote:
>
>> If you've edited PostGIS source, you've quickly become frustrated with
>> the ghastly mix of tabs and spaces used to format code. I would like
>> to propose that we begin re-formatting the source incrementally, by
>> making the use of
>>
>> astyle --style=ansi --indent=tab=8
>>
>> on any .c/.h files we are about to modify.
>>
>> - I'm about to modify foo.c!
>> - astyle --style=ansi --indent=tab=8 foo.c
>> - svn commit -m "Reformat!" foo.c
>> - remember to set my editor to use tabs, not spaces, for block indents
>> - Ok, make my changes now.
>
> Trying to start a religious war :)
>
> If we're going to do that - why not just reformat everything all at once and
> be done with it?
>
>
> Charlie
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>
>



More information about the postgis-devel mailing list