cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <>
Subject Re: whitespace cleanup and efficiency drive
Date Thu, 13 Nov 2003 12:39:56 GMT
David Crossley wrote:

>Joerg Heinicke wrote:
>>The result of this thread: let's care only about white spaces.
>So now we need a policy. Here is my proposal:
>For all text files
>- Replace all tabs with spaces.
>- No trailing whitespace.
>- No M$-DOS line endings.
>- Newline at end-of-file.
>- Single whitespace between words.
>For cvs/**.java
>- Use 4-space indentation.
>For cvs/**.xml|xmap|xconf etc.
>- Use 2-space indentation.
>- No whitespace at start-of-file.

All of the above is either common sense or even more (like the last one: 
XML won't be XML if starts with whitespace (see spec)), and should be 
enforced as soon as you find an issue.

>- No whitespace at end-of-file.

Newline should be ok, right?


View raw message