fst@mcgp1.UUCP (Skip Tavakkolian) (09/28/88)
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
ppk@idli.East.Sun.COM (Pravin Kumar) (08/17/89)
Does anyone know of a C++ mode for Gnu Emacs? If so, could you please send me e-mail on where I can find it (for anonymous ftping)? Thanks in advance, Pravin Kumar Email: ppk@suneast.east.sun.com or ...{uunet,decwrl}!sun.com!ppk
bergquis@nms.gdc.portal.com (Brett Bergquist) (02/03/91)
Does anyone now how to modify "c-mode.el" to support the editting of C++ code. Specifically, I would like to be able to use both the "/* */" format of comments as well as "//". There also seems to be a problem with the "classname::member_function" indentation. To deal with the "//" problem, I tried to make the "/" character's syntax to be ".124", (punctuation; start of a two-char comment start sequence; second character of a two-char comment start sequence; and second character of a two-char end comment sequenc). Thanks in advance. -- Brett M. Bergquist, Principal Engineer | "Remind me" ... "to write an General DataComm, Inc., | "article on the compulsive reading Middlebury, CT 06762 | of news." - Stranger in a Strange Land Email: bergquis@nms.gdc.portal.com or ...!portal!gdc!nms!bergquis
bergquis@nms.gdc.portal.com (Brett Bergquist) (02/06/91)
Thanks for all of the responses.-- Brett M. Bergquist, Principal Engineer | "Remind me" ... "to write an General DataComm, Inc., | "article on the compulsive reading Middlebury, CT 06762 | of news." - Stranger in a Strange Land Email: bergquis@nms.gdc.portal.com or ...!portal!gdc!nms!bergquis