Subject: Re: Emacs cc-mode & KNF
To: Gordon W. Ross <gwr@mc.com>
From: Chris G Demetriou <Chris_G_Demetriou@UX2.SP.CS.CMU.EDU>
List: current-users
Date: 04/24/1996 20:12:48
> > Cc: mike.long@analog.com, current-users@netbsd.org
> > Date: Wed, 24 Apr 1996 18:55:17 -0400
> > From: Chris G Demetriou <Chris_G_Demetriou@UX2.SP.CS.CMU.EDU>
> > 
> > > Here is what I use in my .emacs file: (almost KNF)
> > > 
> > > ;; BSD-style C indentation uses c-indent-level = tab-width = 4
> > 
> > Uh, this isn't even particularly close to KNF...
> > 
> > For starters, KNF 'uses' 8 character tabs and indents are four
> > _spaces_...
> 
> Really!  Most of the code I've looked at uses a TAB for
> every indent level.  (not that I care particularly)

Perhaps I misunderstand what an indent level is...

sources which follow KNF do:

		if (foo && bar &&
4 chars ->	    baz) {
tab ->			something;
		}

and tab is assumed to be 8 spaces.