Xref: utzoo comp.emacs:7571 gnu.emacs:2154 Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!apple!sun-barr!newstop!sun!rberlin From: rberlin@birdland.sun.com (Rich Berlin) Newsgroups: comp.emacs,gnu.emacs Subject: Re: Seeking Truly Electric-C mode for Gnu Emacs Message-ID: Date: 19 Jan 90 20:45:08 GMT References: <13364@granite.BBN.COM> Sender: news@sun.Eng.Sun.COM Distribution: comp Organization: Sun Microsystems Lines: 24 In-reply-to: mlandau@bbn.com's message of 19 Jan 90 09:01:14 GMT > except for the lack of a good SunView bitmap-based terminal driver Have you checked out emacstool? It's in the gnuemacs etc directory. Gives you mouse support, configurable menu on the right button, and some other goodies. > particular, something that understands that you really *do* want > indentation after "if", "while", and "for" statements that aren't > followed by braces. Try as I might, I cannot get Gnu's c-mode to > figure that one out. Here are the settings I use. I think they'll do what you want. (c-indent-level . 4) (c-continued-statement-offset . 4) (c-brace-offset . 0) (c-continued-brace-offset . -4) (c-brace-imaginary-offset . 0) (c-argdecl-indent . 4) (c-label-offset . -2) (c-auto-newline . nil) (fill-column . 75) -- Rich