[Tinyos-devel] consistency in line terminators
Philip Levis
pal at cs.stanford.edu
Mon Jun 9 13:16:32 PDT 2008
On Jun 9, 2008, at 12:53 PM, Miklos Maroti wrote:
> Hi!
>
>> To summarize, the clean-up that I propose consists of:
>> - convert all sources to unix line terminators
>> - remove the bogus 'tab:' marker
>
> Agreed.
>
>> - convert all the tabs to 8 spaces.
>
> I disagree. Do you want to change 646 files (yes, this is correct)
> just to enforce this? Are we going to ban tabs altogether? How are we
> going to enforce this? Tabs should be allways 8 spaces, but you should
> not force people to use spaces. Just my 2 cents.
I agree with Miklos, but for different reasons. If people are checking
in files with tabs, then you can change them all over but tabs will
creep back in. The unix/windows line terminator problem is different
because many editors (e.g., emacs) automatically adapt to the file
format and follow it. So if you make everything unixified, then it's
more likely to stick.
Phil
More information about the Tinyos-devel
mailing list