Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Mar 2005 10:29:15 +0100
From:      Chris Zumbrunn <chris@czv.com>
To:        "Simon L. Nielsen" <simon@FreeBSD.org>
Cc:        www@FreeBSD.org
Subject:   Re: Tabs and spaces in www and doc
Message-ID:  <b8df4b3c635612fd48c5bb1ae7c98780@czv.com>
In-Reply-To: <20050308085202.GC994@eddie.nitro.dk>
References:  <200503080336.j283aPuE084945@freefall.freebsd.org><1110268418.3928.2.camel@localhost.localdomain><20050308083345.GB994@eddie.nitro.dk><1110271173.3928.9.camel@localhost.localdomain> <20050308085202.GC994@eddie.nitro.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mar 8, 2005, at 9:52 AM, Simon L. Nielsen wrote:

> On 2005.03.08 09:39:33 +0100, Devon H. O'Dell wrote:
>> On Tue, 2005-03-08 at 09:33 +0100, Simon L. Nielsen wrote:
>>> On 2005.03.08 08:53:38 +0100, Devon H. O'Dell wrote:
>>>> Again, another thing I'm sure there's a good reason for, but why do 
>>>> www
>>>> (and doc, I suppose) use two spaces up until you get to 8, and then 
>>>> use
>>>> a tab? Why not use tabs and set the width to two spaces? Spaces 
>>>> make it
>>>> a real hassle to (re)format ;).
>>>
>>> The convention is documented in the FDP Primer, but some doc/ and 
>>> most
>>> www/ have a rather inconsistent style... (read: is a big mess :-) ).
>>
>> Aha.
>
> Indeed :-) - the documentation project does document some of these
> things :-).
>
>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/writing-
>> style.html#AEN3202
>>
>> Perhaps I'll write some clean-up scripts (MUCH later ;))
>
> Note that the current defacto policy with regards to whitespace and
> similar sweeping changes is that there should be a reason to do it
> (ie. it's getting in the way of real work), since there are downsides
> to doing a style sweep.  I think the last thread about this which
> contained more details was on doc or cvs-doc last autumn.
>
> Just so you don't waste time on something that's not going to be
> committed.

I'll stick to the "2 space indent, 8 space tab" rule.

/czv



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b8df4b3c635612fd48c5bb1ae7c98780>