Date: Sat, 29 Dec 2001 12:12:28 -0700 (MST) From: "M. Warner Losh" <imp@village.org> To: joe.halpin@attbi.com Cc: standards@FreeBSD.ORG Subject: Re: Emacs and style(9) Message-ID: <20011229.121228.41633246.imp@village.org> In-Reply-To: <3C2E1481.75D70CE1@attbi.com> References: <20011228.120317.105126127.imp@village.org> <20011229175813.GA42892@madman.nectar.cc> <3C2E1481.75D70CE1@attbi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
From: Joe Halpin <joe.halpin@attbi.com> Subject: Re: Emacs and style(9) Date: Sat, 29 Dec 2001 13:07:45 -0600 : "Jacques A. Vidrine" wrote: : > : > Here's how I do it in xemacs. Perhaps someone will take all of these : > posts and come up with the One Perfect Way. : > : > (defconst knf-c-style : > '((c-basic-offset . 8) : > (c-indent-level . 8) : > (c-continued-statement-offset . 8) : : Shouldn't things like this be 4 rather than 8? The style manpage says : "Indentation is an 8 character tab. Second level indents are four : spaces.". No, these should be 8. Second level indents means statement continuation. I have some additional tweaks I've done that I'll post later. 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.121228.41633246.imp>