Xref: utzoo comp.emacs:7569 gnu.emacs:2152 Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!think!bbn!diamond.bbn.com!mlandau From: mlandau@bbn.com (Matt Landau) Newsgroups: comp.emacs,gnu.emacs Subject: Seeking Truly Electric-C mode for Gnu Emacs Message-ID: <13364@granite.BBN.COM> Date: 19 Jan 90 09:01:14 GMT Sender: news@bbn.com Distribution: comp Lines: 26 Having recently been forced by circumstances to switch from using Unipress Emacs -- which I really liked -- to Gnu Emacs -- which I'm really coming to appreciate, except for the lack of a good SunView bitmap-based terminal driver -- I find myself looking for a new C programming mode. Can anyone supply a pointer to a *truly* electric C-mode? Something along the lines of Ray Dunn's C+ mode for MockLisp would be nice; in 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. (On the other hand, writing the helper functions to enable c-fill.el's c-comment mode on /* and disable is on */ was pleasantly trivial :-) I've already tried running C+ mode through translate-to-mocklisp, but the things it does with MockLisp are too gross for the automated translator to handle. They're also too gross for me to translate by hand, at least without more time than I have and a copy of the Elisp Reference Manual! So, that leaves me looking for a more powerful C mode. Will the power of the net come through again? -- Matt Landau Waiting for a flash of enlightenment mlandau@bbn.com in all this blood and thunder