[Tinyos-devel] consistency in line terminators

David Gay dgay42 at gmail.com
Mon Jun 9 10:20:35 PDT 2008


On Mon, Jun 9, 2008 at 3:32 AM, Aurélien Francillon
<aurelien.francillon at inrialpes.fr> wrote:
> Le Monday 02 June 2008 04:19:58 Razvan Musaloiu-E., vous avez écrit :
>> Hi!
>>
>> The tinyos-2.x tree contains a minority (about one hundred) of files using
>> the Windows CRLF line terminators while the majority (about 2 thousands)
>> follows the Unix format of using only LF. In preparation of the new
>> release is it ok with everyone to normalize everything to LF? If there is
>> no complain I volunteer to do it.
>>
>
> Hi, that's a good idea,
> going forward :
> - what about defining at the same time if the tab are allowed/recommended ?
> Many files are mixing tabs and spaces for indentation, if your editor uses a
> different setting than the writer's then code it's harder to read ... Using
> only spaces makes the code appear similar on any editor so that's my perfered
> solution ;)
> - the spaces at end of line could be avoided too...
>
> I think adding those recommendations  to TEP3  would be nice.

Tabs are every 8 spaces. Anything else is broken (seriously) - if your
editor allows you to change this, don't!

David Gay



More information about the Tinyos-devel mailing list