Re: Throw some low-level C scutwork at me - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Throw some low-level C scutwork at me
Date
Msg-id 23438.1241209212@sss.pgh.pa.us
Whole thread Raw
In response to Re: Throw some low-level C scutwork at me  (Andy Lester <andy@petdance.com>)
List pgsql-hackers
Andy Lester <andy@petdance.com> writes:
>> So we're hardly alone in not doing it the way you're suggesting.

> Sure, and I'm sure there are plenty of projects that do use them to  
> great effect, most notably Perl 5 and Parrot.  Perl 5 specifically has  
> had the mish-mosh of tabs-vs-spaces reduced by the addition of  
> modelines.

The solution we've used for years is to run pg_indent over the tree
every so often.  Unlike modelines, this works regardless of whether
patch authors saw fit to use the modelines ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andy Lester
Date:
Subject: Re: Throw some low-level C scutwork at me
Next
From: Dimitri Fontaine
Date:
Subject: Re: Throw some low-level C scutwork at me