Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!julius.cs.uiuc.edu!sane From: sane@cs.uiuc.edu (Aamod Sane) Newsgroups: comp.emacs Subject: c++ mode switch statement Message-ID: <1990Oct3.051204.24126@julius.cs.uiuc.edu> Date: 3 Oct 90 05:12:04 GMT Sender: news@julius.cs.uiuc.edu (USENet News) Distribution: comp Organization: U of Illinois, Dept. of Computer Science, Systems Research Group Lines: 35 I want the c switch to look like switch( foo ) { case bar: case flp: if (xi) { furbl; } break; default: } I tried several variable combinations in the existing variables, but could not get the above done. Does someone have a fix for this? The closest I got to was switch(){ case x: if () { } } The if() does not get indented wrt. the case x: This was with label-offset == 0. Thanks, Aamod Sane -- sane@cs.uiuc.edu == / \ ----- == * \_/ -|||- ==