Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Dec 1995 16:57:31 -0500 (EST)
From:      Chuck Robey <chuckr@glue.umd.edu>
To:        FreeBSD Questions <FreeBSD-Questions@FreeBSD.org>
Subject:   xemacs
Message-ID:  <Pine.SUN.3.91.951201165221.10429A-100000@mocha.eng.umd.edu>

next in thread | raw e-mail | index | archive | help
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!:
<URL:http://www.unitedmedia.com/comics/dilbert/>;




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.951201165221.10429A-100000>