Portfile whitespace issues

Eric Cronin ecronin at gizmolabs.org
Thu Mar 15 07:53:16 PDT 2007


On Mar 15, 2007, at 10:33 AM, Vincent Lefevre wrote:

> On 2007-03-15 10:15:58 -0400, Daniel J. Luke wrote:
>> The old rule was that Porfiles should be internally consistent.
>
>> That was it - and I don't think it's so bad to let portfile authors
>> handle things however they want as long as the result isn't totally
>> unreadable for everything else.
>
> But this makes writing Portfile patches (with the author's style)
> more complex.

Exactly...  Its a real pain as a patch-maker to figure out when this  
is happening, because my natural (soft)tabstop is 4 and Portfiles  
using \t and '    ' appear exactly the same...   Other times I have  
to try tabstops between 3 and 10 until things line up to guess what  
the author used.

If we continue to let maintainers pick their own tabstop and soft vs  
hard setting, can we update the Portfile style guide to include a  
modeline comment? (or can expand/unexpand guess this for me somehow?)

Thanks,
Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 478 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20070315/6b161c97/PGP.bin


More information about the macports-users mailing list