Xref: utzoo gnu.emacs.help:1302 comp.emacs:10206 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!agate!usenet.ins.cwru.edu!tut.cis.ohio-state.edu!unreplyable!garbage From: rjf@LECTROID.SW.STRATUS.COM (Richard Frongillo) Newsgroups: gnu.emacs.help,comp.emacs Subject: GNU question Message-ID: <9102201611.AA28779@lectroid.sw.stratus.com> Date: 20 Feb 91 16:11:35 GMT Sender: daemon@tut.cis.ohio-state.edu Followup-To: gnu.emacs.help Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu Lines: 47 Hello, I need some help! I am working with GNU Emacs version 18.55 and am trying to have a close brace ('}') for a switch statement indent the way I'd like it. That is, I would like the following indentation automatically: switch (i) { case 3 : ...; } instead of: switch (i) { case 3 : ...; } Currently, if I put an open brace in the text of the 'case', then the close braces line up as I expect them to. switch (i) { case 3 : { ...; } } However, I never use an open brace on the 'case' line. Here are my c-mode bindings: (setq c-tab-always-indent nil c-indent-level 5 c-continued-statement-offset 5 c-label-offset 0 c-brace-offset -5 c-mode-hook '(lambda () (progn (setq tab-width 5) (setq indent-tabs-mode nil))) require-final-newline 0) If anyone has a solution to this please let me know. E-mail can be sent to rjf@stratus.com. Thanks. RRRRRRRRiiiiiiiiiiicccccccccccccchhhhhhhhhhhhhhhhh