develooper Front page | perl.perl5.porters | Postings from October 2016

Re: Tabs and spaces in patches

Thread Previous | Thread Next
From:
Karl Williamson
Date:
October 10, 2016 02:53
Subject:
Re: Tabs and spaces in patches
Message ID:
453ec6e3-b6b3-83a9-4e6c-e69347e905f2@khwilliamson.com
On 10/09/2016 08:47 PM, Karl Williamson wrote:
> On 10/09/2016 04:52 PM, Andy Lester wrote:
>> Are we migrating C source to tabs or spaces or do we not care?
>>
>> I have a patch.  Some of the lines I have changed were originally
>> indented with tabs.  Some were indented with spaces.
>>
>> Should I:
>>
>> A) Change all the modified lines in my patch that are indented with
>> tabs to be indented with spaces
>> B) Change all the modified lines in my patch that are indented with
>> spaces to be indented with tabs
>> C) Don't change how any of the lines are indented
>>
>> I don't see anything in http://perldoc.perl.org/perlhack.html that
>> discusses it.
>>
>> --
>> Andy Lester => www.petdance.com
>>
>>
>
> I don't know where it's discussed, but we are migrating to all spaces,
> no tabs
>

And the editor hints at the bottom of most core files are supposed to 
cause changed lines to expand tabs into spaces.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About