From owner-freebsd-questions Sat Dec 2 16:52:29 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA25888 for questions-outgoing; Sat, 2 Dec 1995 16:52:29 -0800 Received: from riley-net170-164.uoregon.edu (riley-net170-164.uoregon.edu [128.223.170.164]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id QAA25805 for ; Sat, 2 Dec 1995 16:52:17 -0800 Received: (from dwhite@localhost) by riley-net170-164.uoregon.edu (8.6.12/8.6.12) id QAA00315; Sat, 2 Dec 1995 16:52:24 -0800 Date: Sat, 2 Dec 1995 16:52:24 -0800 (PST) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: Chuck Robey cc: FreeBSD Questions Subject: Re: xemacs In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG Precedence: bulk On Fri, 1 Dec 1995, Chuck Robey wrote: > I hope there's someone out there who knows emacs. > I am learning emacs unwillingly, at the behest of of the cs department, > and I have to figure out how to set up the C language indentation to work > in the style I like. It wants to do: > > funcname( parm-list ) > { > func-body; > } > It will also accept this: funcname(parm-list) { func-body; } I personally like your way, and do so, because I can't figure out how to make the syntax highlighting stick. It does in html mode, but not in cpp mode. Doug White | University of Oregon Internet: dwhite@gladstone.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major