Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Jul 2000 20:46:38 -0400
From:      Sergey Babkin <babkin@bellatlantic.net>
To:        chris@calldei.com
Cc:        Neil Blakey-Milner <nbm@mithrandr.moria.org>, Martin Horcicka <horcicka@dzungle.ms.mff.cuni.cz>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: style(9)
Message-ID:  <395E90EE.61CB5B66@bellatlantic.net>
References:  <Pine.BSF.3.96.1000630113615.2357A-100000@dzungle.ms.mff.cuni.cz> <20000630114924.A78968@mithrandr.moria.org> <20000630210601.J20702@holly.calldei.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?395E90EE.61CB5B66>