From owner-freebsd-doc Thu Feb 21 14:10:58 2002 Delivered-To: freebsd-doc@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id 1E52137B400 for ; Thu, 21 Feb 2002 14:10:01 -0800 (PST) Received: (from mwlucas@localhost) by blackhelicopters.org (8.11.6/8.11.6) id g1LM9pV30293; Thu, 21 Feb 2002 17:09:51 -0500 (EST) (envelope-from mwlucas) Date: Thu, 21 Feb 2002 17:09:51 -0500 From: Michael Lucas To: Ceri Cc: freebsd-doc@FreeBSD.ORG Subject: Re: docs/35155: [PATCH] Misc corrections to the Handbook, chapter 2 Message-ID: <20020221170951.B30225@blackhelicopters.org> References: <200202202000.g1KK08V36428@freefall.freebsd.org> <20020221115732.GA575@rhadamanth> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020221115732.GA575@rhadamanth>; from setantae@submonkey.net on Thu, Feb 21, 2002 at 11:57:32AM +0000 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Feb 21, 2002 at 11:57:32AM +0000, Ceri wrote: > On Wed, Feb 20, 2002 at 12:00:08PM -0800, Michael Lucas wrote: > > The following reply was made to PR docs/35155; it has been noted by GNATS. > > > > From: Michael Lucas > > To: Priit Piipuu > > Cc: FreeBSD-gnats-submit@FreeBSD.ORG > > Subject: Re: docs/35155: [PATCH] Misc corrections to the Handbook, chapter 2 > > Date: Wed, 20 Feb 2002 14:50:11 -0500 > > > > Priit, > > > > Thanks for the patch. You're mixing some whitespace changes with > > content changes, however, to wit: > > > > > Here is where you must set the floppy to boot into a > > > serial console. You have to make a file called > > > - boot.config containing "/boot/loader > > > - -h". All this does is pass a flag to the bootloader to > > > - boot into a serial console. > > > + boot.config containing > > > + /boot/loader -h. All this does is pass a flag to > > > + the bootloader to boot into a serial console. > > > > > > > The last line here is a gratuitous whitespace diff. > > Does that really qualify as a _gratuitous_ whitespace diff ? > > He's made changes to the two lines above, and then wrapped > the line since it's now really long. I'm sure your second opinion will be forthcoming soon. :-) Still, here's my explanation and rationale. I got slapped for this very thing before becoming a committer, so I'm fairly certain it's the case. The whole reason for the "gratuitous whitespace diff" rule is to reduce the workload for our translators. Many of our translation teams speak/read very poor English, and reducing whitespace changes in commits is their single biggest request. If you don't wrap this line in the same commit, the translator just has to evaluate one line for changes. With the wrap, they must evaluate three. Eliminating these whitespace diffs reduces their workload for this operation by 66%. While this is easy for us, people who don't even use our alphabet, let alone speak English natively, will have a very hard time of it. There was a whole presentation about this at BSDCon, where one of the Japanese -doc translators said, in a very polite way, "Please, please, please don't do this!" (I don't think that that presentation is on-line yet, but it should be soon.) The presenter was Japanese, and spoke very poor English, yet thought it was important enough to get up in front of us and talk through it. BSD is *big* in Japan, and this is really a simple enough way to not shaft our foreign counterparts. They're doing a job that is even more thankless and less fulfilling than what we do. You'll frequently see commits where text is changed, creating a single long line, and then a following commit is made immediately thereafter to wrap the line. This is the preferred way to handle this sort of thing. I've gone through some sections of the FAQ with the whitespace hammer, respacing chapters appropriately where accumulated changes have done some horrible things but nobody has bothered to follow up. We really should document this in the FDP, with examples. It comes up too often. ==ml -- Michael Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org my FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons http://www.blackhelicopters.org/~mwlucas/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message