Article View: gnu.emacs.help
Article #189802Re: c++-mode.el
From: Sean Casey
Date: Wed, 07 Nov 1990 20:24
Date: Wed, 07 Nov 1990 20:24
29 lines
1639 bytes
1639 bytes
Or... You can put the following line at the top of each C++ source file: // This may look like C code, but it is really -*- C++ -*- or just // -*- C++ -*- Typing "C-c TAB" in c++-mode adds the former to the top of the file. This looks a little grungy, but the nice thing about it is anyone who has C++ mode available to them will get C++ mode whenever they edit the file, no matter whether it's called. file.c, file.cc, file.C, file.h, or anything will work if it has that line at the top. I have to admit, C++ mode, "compile", and gdb within emacs are what got me usuing emacs. It makes writing software so much faster and easier... gives one that giddy hacker "I just saved myself huge amounts of time." feeling. So when is GNU going to do a C interpreter? Saber C needs some competition :). Sean -- *** Sean Casey <sean@s.ms.uky.edu> *** ``HaaAhh Huhhhhhh!'' -James Brown (quote corrected by oz@nexus.yorku.ca)
Technical Details
Message-ID:
<sean.658009485@s.ms.uky.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!apple!usc!sdd.hp.com!uakari.primate.wisc.edu!uflorida!gatech!ukma!seanReferences:
<125503@linus.mitre.org> <Nov.6.11.19.27.1990.4109@yoko.rutgers.edu> <Nov.6.11.22.36.1990.4298@yoko.rutgers.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,10c7f806c9b1fa88 X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1990-11-07 12:24:45 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!apple!usc!sdd.hp.com!uakari.primate.wisc.edu!uflorida!gatech!ukma!sean From: sean@ms.uky.edu (Sean Casey) Newsgroups: gnu.emacs.help Subject: Re: c++-mode.el Message-ID: <sean.658009485@s.ms.uky.edu> Date: 7 Nov 90 20:24:45 GMT References: <125503@linus.mitre.org> <Nov.6.11.19.27.1990.4109@yoko.rutgers.edu> <Nov.6.11.22.36.1990.4298@yoko.rutgers.edu> Organization: The Leaning Tower of Patterson Office @ The Univ. of KY Lines: 29 Posted: Wed Nov 7 21:24:45 1990