Stripping of whitespaces at the end of lines

Andreas Mohr andi at
Wed May 29 11:34:04 CDT 2002

On Wed, May 29, 2002 at 12:08:33PM -0400, Dimitrie O. Paun wrote:
> On May 29, 2002 11:59 am, Geoff Thorpe wrote:
> > Absolutely. If you use \t, then anyone looking at the code can choose the
> > size of indents. I *despise* space-based indenting, almost as much as I
> > despise mixed indenting (eg. 4-space indenting with every pair of 4-space
> > indents being converted into a single tab).
> Sorry, this does not work. People _will_ use spaces, and so having the tab
> at anything other than 8 is simply silly. The tab (\t) _is_ 8 spaces. Period.
> If we are to have anything decent, we should decide (at least as a 
> recommendation) on an indentation size. From looking at the code, 4 seems
> to be the norm. Let's pick that.
Yep, I'm also pro 4 spaces :-)
*If* we decide to use 4 spaces, then we might also want to decide whether
to abolish tab-based "double 4" or "quattro 4" replacements or not.
Or, in other words: whether we want to have all indentations based on spaces,
instead of also using \t where it fits into the current indentation level.

Oh, and of course I'm all for *not* making this decision too obligatory.
(unless someone comes up with some completely wild indentation, that is ;)

Andreas Mohr                        Stauferstr. 6, D-71272 Renningen, Germany
Tel. +49 7159 800604      

More information about the wine-devel mailing list