[gnu.g++.help] GNU Emacs c++-mode.el and double colons

gengenba@forwiss.uni-passau.de (Michael Gengenbach) (05/22/91)

Hi,

I have a problem with c++-mode.el for GNU Emacs. If I set c-auto-newline
and then type

       class::function

I get

       class:
       :
         function

I use c++-mode.el last edited Jun, 1990 (Dave Detlefs, dld@cs.cmu.edu).
It says in the comment:

;; Feb, 1990 (Dave Detlefs, dld@cs.cmu.edu)
;;   Fixed electric-c++-terminator to handle double colons, at the
;;   request of John Hagerman.

But neither John Hagerman nor Dave Detlefs could help me. They both don't
support c++-mode.el anymore.

So can anybody help me? Probably it's my fault anyway?

BTW, Dave suggested to post and ask if anyone else considers himself to
be maintaining c++-mode.el? 

Regards

   Michael
-- 
Michael Gengenbach, FORWISS Passau, gengenbach@forwiss.uni-passau.de

allen@manic.ssc.gov (Mike Allen) (05/22/91)

>>>>> On 21 May 91 19:33:00 GMT, gengenba@forwiss.uni-passau.de (Michael Gengenbach) said:
In article <1991May21.193300.7264@forwiss.uni-passau.de> gengenba@forwiss.uni-passau.de (Michael Gengenbach) writes:

Michael> I have a problem with c++-mode.el for GNU Emacs. If I set c-auto-newline
Michael> and then type

Michael>        class::function

Michael> I get

Michael>        class:
Michael>        :
Michael>          function

I do:
(setq c++-electric-colon nil)

in my .emacs to "solve" that problem.
--
===============================================================================
			   Michael E. Allen
			    Mail Stop 1046
			    SSC Laboratory
			2550 Beckleymeade Ave.
			   Dallas, TX 75237
			    (214)708-3031

al tadin et khaverkha 'ad shetagi'a limkomo
			-Ethics of the Fathers
Do not judge your fellow man until you have come to his place.