indent quirks

Jeremy Huddleston jeremyhu at apple.com
Fri Mar 23 18:15:17 PDT 2012


Yeah, our new indent policy butchers ObjC, unfortunately.

On Mar 23, 2012, at 11:34, Sérgio Basto wrote:

> On Fri, 2012-03-23 at 18:05 +0100, Søren Sandmann wrote: 
>> Keith Packard <keithp at keithp.com> writes:
>> 
>>> 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...
>> 
>> FWIW, when I fixed up formatting in pixman, this program:
>> 
>>    http://uncrustify.sourceforge.net/
>> 
>> worked significantly better than indent.
> 
> Good tip I will try that ! it is packaged for Debian , Fedora ...
> I just had to do: yum install uncrustify.x86_64
> 
> Thanks,
> -- 
> Sérgio M. B.
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel



More information about the xorg-devel mailing list