Return-Path: Delivered-To: apmail-incubator-river-dev-archive@minotaur.apache.org Received: (qmail 8793 invoked from network); 2 Dec 2010 14:51:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Dec 2010 14:51:25 -0000 Received: (qmail 93101 invoked by uid 500); 2 Dec 2010 14:51:25 -0000 Delivered-To: apmail-incubator-river-dev-archive@incubator.apache.org Received: (qmail 92999 invoked by uid 500); 2 Dec 2010 14:51:24 -0000 Mailing-List: contact river-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: river-dev@incubator.apache.org Delivered-To: mailing list river-dev@incubator.apache.org Received: (qmail 92991 invoked by uid 99); 2 Dec 2010 14:51:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 14:51:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pats@acm.org designates 209.86.89.68 as permitted sender) Received: from [209.86.89.68] (HELO elasmtp-masked.atl.sa.earthlink.net) (209.86.89.68) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 14:51:15 +0000 Received: from [70.230.203.59] (helo=[192.168.1.101]) by elasmtp-masked.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1POAUo-0001qu-ND for river-dev@incubator.apache.org; Thu, 02 Dec 2010 09:50:54 -0500 Message-ID: <4CF7B248.7030706@acm.org> Date: Thu, 02 Dec 2010 06:50:48 -0800 From: Patricia Shanahan User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: river-dev@incubator.apache.org Subject: Re: Formatting of River Source Tree References: <4CF7AFEF.7020109@wonderly.org> In-Reply-To: <4CF7AFEF.7020109@wonderly.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ELNK-Trace: 9a090983a806273c061ba25959e76cc985338a7d01cb3b6a7e972de0d01da940ff068eb466b9153db4c7e58b87958530350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 70.230.203.59 X-Virus-Checked: Checked by ClamAV on apache.org Gregg Wonderly wrote: > As I've said here before and elsewhere, I really feel that tabs only is > the most beneficial indentation to use. The reason is that it allows > people who use odd tab intervals to still see things and use their tab > key while editing without having to change their IDE settings while > editing. > > Sun has an old formatting document that discusses using spaces only, and > netbeans does this by default. The biggest issue for me, of course, is > that I use 4 character tab expansion and tabs only in all of my > development. > > In an open source world, all tabs is really the only thing that provides > the most flexibility it seems to me. My current approach in making changes to River is to try to be consistent with the code around the change. I am very strongly opposed to mixing tabs and space, because it loses indentation consistency unless viewed with the same tab size as was used to create it. I prefer all spaces because it avoids the nasty over-indentation you get if all tabs is viewed in with 8 spaces per tab. For example, tabbed code has real problems when quoted in mail or newsgroup messages. However, I'm generally willing to be flexible about this sort of thing. Patricia