From owner-freebsd-www@FreeBSD.ORG Tue Mar 8 08:28:20 2005 Return-Path: Delivered-To: freebsd-www@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0310316A4CE for ; Tue, 8 Mar 2005 08:28:20 +0000 (GMT) Received: from engine140.deployzone.net (engine140.deployzone.net [193.17.85.140]) by mx1.FreeBSD.org (Postfix) with SMTP id 41C3443D5D for ; Tue, 8 Mar 2005 08:28:19 +0000 (GMT) (envelope-from chris@czv.com) Received: from adsl-212-90-218-5.cybernet.ch [212.90.218.5] by engine140.deployzone.net; Tue, 8 Mar 2005 09:26:31 +0100 In-Reply-To: <1110269526.3928.6.camel@localhost.localdomain> References: <200503080336.j283aPuE084945@freefall.freebsd.org> <1110268418.3928.2.camel@localhost.localdomain> <1110269526.3928.6.camel@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <6fbbcee43d38ac88f0daa86ebbd0a1e8@czv.com> Content-Transfer-Encoding: 7bit From: Chris Zumbrunn Date: Tue, 8 Mar 2005 09:28:16 +0100 To: "Devon H. O'Dell" X-Mailer: Apple Mail (2.619.2) cc: www@FreeBSD.org Subject: Re: Tabs and spaces in www and doc X-BeenThere: freebsd-www@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Project Webmasters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2005 08:28:20 -0000 On Mar 8, 2005, at 9:12 AM, Devon H. O'Dell wrote: > On Tue, 2005-03-08 at 09:08 +0100, Chris Zumbrunn wrote: >> On Mar 8, 2005, at 8:53 AM, 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 ;). >> >> I've seen the opposite also: One tab followed by spaces. And >> differences >> from line to line, depending on who edited last. Certainly, it would >> be >> good to know what should be used, tabs or spaces, so that things can >> be >> cleaned up while working on it. > > The one tab occurs when it can replace 8 spaces. I personally think > this > is bad style (but don't want to start YATVS war), especially since My > Favorite Editor(tm) defaults to a tab size of two spaces. OK, so I screwed up when I replaced tabs with spaces on lines I edited. The current "rule" is to indent with two spaces but replace 8 spaces with a tab? For most other projects, I usually configure my editor to produce 4 spaces per tab, generally resulting in tab free code. But I'm happy to adjust to whatever is deemed appropriate for www and doc. /czv