[comp.emacs] Gnu c-mode question

mrd@sun.soe.clarkson.edu (Michael DeCorte) (07/28/89)

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
---------------------------------------------------------------------------