develooper Front page | perl.perl5.porters | Postings from May 2012

Re: RFC: Proposal to change the editor hints in core files to expandtabs

Thread Previous | Thread Next
From:
Karl Williamson
Date:
May 24, 2012 16:41
Subject:
Re: RFC: Proposal to change the editor hints in core files to expandtabs
Message ID:
4FBEC73A.7000605@khwilliamson.com
On 05/24/2012 05:19 PM, Ricardo Signes wrote:
> * demerphq<demerphq@gmail.com>  [2012-05-24T11:18:57]
>> But I recommend that you do this as one big patch and NOT on a per file
>> basis.
>>
>> Otherwise people will have to use -w on pretty well every diff. If we
>> do it as a one off then the -w is needed only for that diff.
>
> The proposal was **NOT** to re-indent every file.
>
> It was to update the editor hints.
>
> This means that when a line is changed anyway, its whitespace may change.
>
> I am not suggesting someone go through and %s/\t/        /g every .c file and
> neither, as far as I can see, is Karl.  Also (at least in the editors I use,
> but maybe others are weirder) changing the hints won't cause the next save to
> re-indent the file.
>
> In other words, we are updating our preference to be for expanded tabs, and
> that is all.
>

Exactly.  There would be no differences except on lines that are going 
to be marked as changed for other reasons.  If a line was last changed 
in 1999, it would retain whatever its whitespace was at that time.

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