Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Dec 2001 22:32:08 -0700 (MST)
From:      "M. Warner Losh" <imp@village.org>
To:        n@nectar.cc
Cc:        joe.halpin@attbi.com, standards@FreeBSD.ORG
Subject:   Re: Emacs and style(9)
Message-ID:  <20011229.223208.105169321.imp@village.org>
In-Reply-To: <20011230051716.GA80312@madman.nectar.cc>
References:  <20011229175813.GA42892@madman.nectar.cc> <3C2E1481.75D70CE1@attbi.com> <20011230051716.GA80312@madman.nectar.cc>

next in thread | previous in thread | raw e-mail | index | archive | help
* means c-basic-offset / 2, so

 (defconst knf-c-style
   '((c-basic-offset . 8)
     (c-offsets-alist . ((knr-argdecl-intro . +)
			(knr-argdecl . 0)
			(block-open . -)
			(label . -)
			(statement-cont . *)
			(arglist-cont . *)
			(arglist-cont-nonempty *))))
  "BSD KNF")

might be better, espeically if you have to work on code that has
c-basic-offset set to 4 once and a while. :-)

Warner

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-standards" in the body of the message




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