W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2005

Tabs vs. Spaces: please explain

From: Michiel van Oosterhout <michiel@elan.nl>
Date: Tue, 20 Dec 2005 11:44:46 +0100
Message-ID: <2DEBE059DC373849985A7CF787A1CDC6CB1F@elanmail.elan.nl>
To: <html-tidy@w3.org>

Ok, this is not about the tabs vs. spaces debate itself. But the fact
that there is a debate (some prefer to call it a holy war) means that
there are those who prefer spaces and those who prefer tabs, both in no
small amount). The sensible thing to do for Tidy then, would be to
support _both_.

However, the documentation states: "Tidy never outputs tabs". I sense
some bitterness in that very short powerfull statement, like it was a
pro-spaces programmer who was fed up with the whole discussion. However,
it is not that simple. Like I said, it would be very good to support
both, and would make _everyone_ more happy.

So, what's the deal? Is Tidy developed by a pro-spaces only team of
programmers? Is anyone going to add some kind of indent-with:
tabs|spaces option? Is this even possible? It's ok if the Tidy
programmers would say no to tabs (I'd be very disappointed), but at
least _explain_ it to me.

Thank you very much.

PS. I'd do it myself, but as you can probably guess, I use HTMLTidy
because I'm a web programmer, so I can't program C or C++
Received on Tuesday, 20 December 2005 14:14:01 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:55 UTC