From owner-freebsd-chat@FreeBSD.ORG Mon Apr 13 14:35:54 2009 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 405B8106564A for ; Mon, 13 Apr 2009 14:35:54 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.freebsd.org (Postfix) with ESMTP id C23BD8FC19 for ; Mon, 13 Apr 2009 14:35:53 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: (qmail 31204 invoked by uid 0); 13 Apr 2009 14:09:13 -0000 Received: from unknown (HELO Grumpy.DynDNS.org) (75.76.211.79) by smtp7.knology.net with SMTP; 13 Apr 2009 14:09:13 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id ECEE128429; Mon, 13 Apr 2009 09:09:12 -0500 (CDT) Date: Mon, 13 Apr 2009 09:09:12 -0500 From: David Kelly To: deeptech71@gmail.com Message-ID: <20090413140912.GC29833@Grumpy.DynDNS.org> References: <49E2FBE2.8020305@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49E2FBE2.8020305@gmail.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-chat@freebsd.org Subject: Re: My whitespace style (was: Why?? (prog question)) X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-chat@freebsd.org List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2009 14:35:54 -0000 On Mon, Apr 13, 2009 at 10:46:26AM +0200, deeptech71@gmail.com wrote: > Tabs are better, because they allow the programmer to specify the > desired width, and is dynamically changable at any time. Spaces are better because they let the author specify the formatting and not left to some other re-interpretation. Can put the following as the first line and vim will adjust its settings accordingly: // vim: smartindent cindent tabstop=4 shiftwidth=4 expandtab -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad.