[Tinyos-devel] consistency in line terminators

Razvan Musaloiu-E. razvanm at cs.jhu.edu
Tue Jun 10 17:49:46 PDT 2008


Hi!

On Mon, 9 Jun 2008, Philip Levis wrote:

> 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.

I just committed the fix for the above two things.

--
Razvan ME

>>> - 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