Date: Fri, 28 Dec 2001 12:46:06 -0500 (EST) From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: Joe Halpin <joe.halpin@attbi.com> Cc: "standards@FreeBSD.ORG" <standards@FreeBSD.ORG> Subject: Emacs and style(9) Message-ID: <200112281746.fBSHk6n58428@khavrinen.lcs.mit.edu> In-Reply-To: <3C2CA64C.663F8943@attbi.com> References: <3C200BBA.9D26ED93@attbi.com> <20011228031537.B99161@espresso.q9media.com> <3C2CA64C.663F8943@attbi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Fri, 28 Dec 2001 11:05:16 -0600, Joe Halpin <joe.halpin@attbi.com> said: > Is there a commonly used c-mode hook for emacs that's setup to comply > with style(9)? My "natural" style is quite different from what the > manpage wants. If not, I'll try to come up with one and post it here. I have used the following (in Emacs 19) for ever and ever. It does not quite meet with the official standard, but to the extent that I care it's not so hard to touch things up manually after the fact. (defun my-c-mode-common-hook () (c-set-style "bsd") (setq c-basic-offset 8)) -GAWollman 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?200112281746.fBSHk6n58428>