Return-Path: Delivered-To: apmail-incubator-river-dev-archive@minotaur.apache.org Received: (qmail 9641 invoked from network); 2 Dec 2010 14:54:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Dec 2010 14:54:50 -0000 Received: (qmail 98605 invoked by uid 500); 2 Dec 2010 14:54:50 -0000 Delivered-To: apmail-incubator-river-dev-archive@incubator.apache.org Received: (qmail 98515 invoked by uid 500); 2 Dec 2010 14:54:50 -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 98507 invoked by uid 99); 2 Dec 2010 14:54:49 -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:54:49 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dennis.reedy@gmail.com designates 209.85.216.47 as permitted sender) Received: from [209.85.216.47] (HELO mail-qw0-f47.google.com) (209.85.216.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 14:54:40 +0000 Received: by qwg5 with SMTP id 5so7022045qwg.6 for ; Thu, 02 Dec 2010 06:54:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=cW9NN6Oa14F0nciRAhQjM4PBVbw62fm3wCVxiN03Hks=; b=eic8Gl2mcqgpstEfxlS2R1JTiBnX/vBEjL6/4+eIDWg4Wyl2+GRdLI0CWg2+y5YQTa k29x0IsSSyUTWk+eF6A8IQ1eJgWqdEZDHdUN8G+Dl1Kg1+eTp+pJfaBGXXmrs+MzwVW0 zOPq1WlXJe6hqvriRdKyfG7oeDmAoT5i+jDgM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=KfEEsK0yfLufo/+Um8nMXXZBsxJZRgoX9WMu5pG217oAWq3zUsFyeZ7+x08k6l0U/F m0sRkZpMyMlvVd8FLjXL1ZDKbpB8q5pZXAnj0qlJDZsiCtUVpm992msBDxN2/E5il+VQ 0mV/0kMwgtYky344a+Qntx6kEqWuzmJBmCCN4= Received: by 10.224.45.203 with SMTP id g11mr128724qaf.101.1291301659521; Thu, 02 Dec 2010 06:54:19 -0800 (PST) Received: from [10.0.1.3] (c-69-255-104-205.hsd1.va.comcast.net [69.255.104.205]) by mx.google.com with ESMTPS id t35sm415890qco.18.2010.12.02.06.54.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 02 Dec 2010 06:54:18 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: Formatting of River Source Tree From: Dennis Reedy In-Reply-To: <4CF7B248.7030706@acm.org> Date: Thu, 2 Dec 2010 09:54:16 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4CF7AFEF.7020109@wonderly.org> <4CF7B248.7030706@acm.org> To: river-dev@incubator.apache.org X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org On Dec 2, 2010, at 950AM, Patricia Shanahan wrote: > 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. >=20 > My current approach in making changes to River is to try to be = consistent with the code around the change. >=20 > 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. >=20 > 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. +1 for spaces over tabs