[comp.lang.c++] C++ mode for emacs

lizh@sequent.UUCP (Liz Heller) (06/16/89)

Anyone have a C++ mode for emacs?  When I try to put // style comments
in my C++ files, the automatic indentation in our emacs doesn't behave
correctly.

faustus@ygdrasil.Berkeley.EDU (Wayne A. Christopher) (03/12/91)

Is there a good C++ mode for GNU emacs around?  C mode just doesn't
cut it...

	Wayne

weikart@prl.dec.com (Chris Weikart) (03/12/91)

> Is there a good C++ mode for GNU emacs around?  C mode just doesn't
> cut it...

Yes, via anonymous ftp to gatekeeper.dec.com (16.1.0.2) in /pub/GNU/c++-mode.el.
This corresponds to the patches I posted recently in comp.lang.c++.

It's wise to (setq c-auto-newline nil) to avoid problems with "::", and macro definition indentation seem to mess up the following code indentation, but otherwise it's a real pleasure --- a hell of a lot better than C mode for C++!

-------------------------------------------------------------------------------
Chris Weikart <weikart@prl.dec.com> .............. DEC Paris Research Lab (PRL)