From owner-freebsd-hackers Sat Jul 1 17:46: 9 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp02.teb1.iconnet.net (smtp02.teb1.iconnet.net [209.3.218.43]) by hub.freebsd.org (Postfix) with ESMTP id 774D837B819 for ; Sat, 1 Jul 2000 17:46:06 -0700 (PDT) (envelope-from babkin@bellatlantic.net) Received: from bellatlantic.net (client-151-198-117-17.nnj.dialup.bellatlantic.net [151.198.117.17]) by smtp02.teb1.iconnet.net (8.9.1/8.9.1) with ESMTP id UAA05521; Sat, 1 Jul 2000 20:45:30 -0400 (EDT) Message-ID: <395E90EE.61CB5B66@bellatlantic.net> Date: Sat, 01 Jul 2000 20:46:38 -0400 From: Sergey Babkin X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-19990626-CURRENT i386) X-Accept-Language: ru, en MIME-Version: 1.0 To: chris@calldei.com Cc: Neil Blakey-Milner , Martin Horcicka , freebsd-hackers@FreeBSD.ORG Subject: Re: style(9) References: <20000630114924.A78968@mithrandr.moria.org> <20000630210601.J20702@holly.calldei.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Chris Costello wrote: > > On Friday, June 30, 2000, Neil Blakey-Milner wrote: > > No. Anyway, you can set your tab size to whatever you want. So long as > > it is a _tab_, and not 2 or 4 or 8 spaces. If you're heading into the > > margin constantly, you should simplify your code, or break it up into > > (preferably reusable) functions that perform one task. > > Setting a tab width to something other than 8 would tend to > break formatting for people with normal editors. Just try > viewing bsd.port.mk in vi with default settings and not seeing > clutter. Troubles start when people start using spaces at the beginning of the lines. As long as _only_ tabs occur at the begining of the lines everything is fine with any tab width (and I personally prefer to set the tab width equal to 4). The worst thing that can happen is the lines over 80 characters and that's no big deal. On the other hand using tabs inside the lines tends to break into ugly things. -SB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message