indent quirks

Keith Packard keithp at keithp.com
Fri Mar 23 09:25:23 PDT 2012


<#part sign=pgpmime>
On Fri, 23 Mar 2012 15:45:42 +0000, Daniel Stone <daniel at fooishbar.org> wrote:
> Hi,
> 
> On 23 March 2012 15:13, Mikhail Gusarov <dottedmag at dottedmag.net> wrote:
> > Twas brillig at 02:44:41 23.03.2012 UTC-07 when jeremyhu at apple.com did gyre and gimble:
> >  JH> Is there a way we can tweak indent to not mess up blocks like this:
> >
> > I had to resort to post-processing script recently, exactly for this issue.
> 
> Same.  I fiddled around and read the manpage inside out but couldn't
> find a way to make it not screw up initialisers like that, so had to
> do the rest with manual cleanup.

Yeah, if you come up with a script that fixes things, we can apply
that. Alternatively, just post cleanup patches and we'll merge them in
and hope that we don't impact cross-version patches too much.

Fixing 20 years of format neglect isn't going to be completely pain-free...

-- 
keith.packard at intel.com


More information about the xorg-devel mailing list