Path: utzoo!utgpu!watmath!att!dptg!rutgers!mailrus!csd4.milw.wisc.edu!leah!rpi!image.soe.clarkson.edu!news From: mrd@sun.soe.clarkson.edu (Michael DeCorte) Newsgroups: comp.emacs Subject: Gnu c-mode question Message-ID: Date: 28 Jul 89 16:36:49 GMT Sender: news@sun.soe.clarkson.edu Distribution: comp Organization: Clarkson University, Postdam NY Lines: 35 Hi there. The software groups that I work with has the following indention style and I was wondering if anyone know how to get emacs to do it. I can't get something that will even come close with the switch statment. main() { if(foo) { bar(); } switch(foo) { case 1: foo-bar(); break; default: bar-foo(); break; } } thanks -- Michael DeCorte // H215-546-0497 W386-8164 Fax386-8252 // mrd@clutx.bitnet 2300 Naudain St. "H", Phil, PA 19146 // mrd@sun.soe.clarkson.edu --------------------------------------------------------------------------- Clarkson Archive Server // commands = help, index, send, path archive-server@sun.soe.clarkson.edu archive-server%sun.soe.clarkson.edu@omnigate.bitnet dumb1!dumb2!dumb3!smart!sun.soe.clarkson.edu!archive-server ---------------------------------------------------------------------------