Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jul 1997 17:41:34 -0600
From:      Steve Passe <smp@csn.net>
To:        "J. Utz" <spaz@u.washington.edu>
Cc:        multimedia@FreeBSD.ORG
Subject:   Re: 970714 configure.c the formatting is making me crazy! 
Message-ID:  <199707192341.RAA27696@Ilsa.StevesCafe.com>
In-Reply-To: Your message of "Sat, 19 Jul 1997 16:15:47 PDT." <Pine.OSF.3.96.970719155929.16939B-100000@becker1.u.washington.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

> i am messing with configure.c in the 970714 sound snap because the 970718
> version doesn't have a configure.c
>
> the conditionals are full tab indents, which means that the lines in the
> really important part are totally messed up in 80 columns in emacs! arghh!
> is there some magic emacs command that fixes this stuff automatically?

don't go crazy reformting source, the style police will just make you change it
back before its allowwed in the tree.

from "man style":

NAME
     style - Kernel source file style guide

 ...

Indentation is an 8 character tab.  Second level indents are four spaces.

             while (cnt < 20)
                     z = a + really + long + statement + that + needs +
                         two lines + gets + indented + four + spaces +
                         on + the + second + and + subsequent + lines.

     Do not add whitespace at the end of a line, and only use tabs then spaces
     to form the indentation.  Do not use more spaces than a tab will produce
     and do not use spaces in front of tabs.

--
Steve Passe	| powered by 
smp@csn.net	|            Symmetric MultiProcessor FreeBSD





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707192341.RAA27696>