Path: utzoo!attcan!uunet!pilchuck!ssc!mcgp1!fst From: fst@mcgp1.UUCP (Skip Tavakkolian) Newsgroups: comp.emacs Subject: C++ mode for GNU emacs Keywords: C++, GNU emacs, C++ mode Message-ID: <1587@mcgp1.UUCP> Date: 28 Sep 88 05:50:24 GMT Organization: Computer Tools Int'l Inc. Lines: 39 Is there a C++ mode for GNU emacs? (I have version 18.52 now!!!). If so could someone, please, mail it to me (many thanks). I also have another question; (I asked this a while back, but nobody answered) Is there a way to have the GNU emacs c-mode indent in the following form: function(arg1, arg2) char arg1, *arg2; { if (bogus) { firstfunc(); that(); } else blah_blah(); switch (This) { case BOB: break; default: /* you get the idea */ } } nextfunc() { } I have had some success in modifying c-mode.el (I do not know LISP, I just wing it) and getting it to do some of this right. Please help. I'll give you my first born !!! :-) Many thanks -- Fariborz ``Skip'' Tavakkolian UUCP ...!uw-beaver!tikal!mcgp1!fst UNIX is a registered trademark of AT&T