smithln@rochester.UUCP (06/17/87)
I am currently programming on a BBN Butterfly Multiprocessor. Most of the programming is done in C. Rather than using signal processing the machine uses the lisp-like catch/throw statements to trap runtime errors. My problem is that GNU emacs does not indent these probably - I want my code to look as such: /* code outside of the catch is above here */ catch stmt ..... stmt onthrow when(BOOLEAN-EXPR) stmt .... stmt when(BOOLEAN-EXPR) stmt .... stmt endcatch /* code after the catch is here */ The current settings of my c-mode variables are: (setq c-indent-level 4) (setq c-continued-statement-offset 4) (setq c-brace-offset -4) (setq c-argdecl-indent 4) (setq c-label-offset 2) This effect can be achieved if I put extra braces in the appropriate places but I would rather avoid this as it only complicates the (already complicated) code. Any help would be appreciated - Neil Smithline ARPA: smithln@cs.rochester.edu UUCP: ..!{allegra,decvax,seismo}!rochester!smithln Mail: CS Dept., University of Rochester, Rochester NY 14627 -- Neil Smithline ARPA: smithln@cs.rochester.edu UUCP: ..!{allegra,decvax,seismo}!rochester!smithln Mail: CS Dept., University of Rochester, Rochester NY 14627