From owner-freebsd-questions Fri Dec 1 13:57:42 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA27506 for questions-outgoing; Fri, 1 Dec 1995 13:57:42 -0800 Received: from bacchus.eng.umd.edu (bacchus.eng.umd.edu [129.2.94.5]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id NAA27500 for ; Fri, 1 Dec 1995 13:57:37 -0800 Received: from mocha.eng.umd.edu (mocha.eng.umd.edu [129.2.98.16]) by bacchus.eng.umd.edu (8.7/8.7) with ESMTP id QAA19189 for ; Fri, 1 Dec 1995 16:57:33 -0500 (EST) Received: (chuckr@localhost) by mocha.eng.umd.edu (8.7.2/8.6.4) id QAA10860; Fri, 1 Dec 1995 16:57:32 -0500 (EST) Date: Fri, 1 Dec 1995 16:57:31 -0500 (EST) From: Chuck Robey X-Sender: chuckr@mocha.eng.umd.edu To: FreeBSD Questions Subject: xemacs Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org Precedence: bulk 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; } I want it to do like I do in vi, where I use tabbing only (never spacing), with tabs=4, and the form: funcname( parm-list ) { func-body; } I do like the way it highlights, in color or font, the various parts of the code, but I want it to format MY way. Can anyone help me? I can find how the indentation engine works in the info docs, but I can't see how to change it. Thanks much. ============================================================================ Chuck Robey chuckr@eng.umd.edu -- I run FreeBSD on n3lxx and Journey2 --------------------------------------------------------------------------- The Dilbert Zone is Dilbert's new WWW home! The area features never-before-seen original sketches of Dilbert, a photo tour of Scott Adams' studio, Dilbert Trivia and memorabilia, high school photos and much more!: