🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #1860

Re: comments and "default" label

#1860
From: Chris Weikart
Date: Sun, 02 Jun 1991 19:07
24 lines
1532 bytes
In article <1991May28.213939.11076@rice.edu>, pyang@rice.edu (Po) writes:
> 
> 
> I was wondering how to get epoch to recognize both
> 	/* ... */
> and
> 	//
> comments with correct indentations.
> When I set start-comment to //, the indentation of /* */ comment looks like
>  	/*
> 	    *
> 		*/
> 
> ...

Looks like you could use a C++ mode. You can get one via anonymous ftp from
gatekeeper.dec.com (16.1.0.2) in /archive/pub/GNU/elisp-misc/c++-mode.el.

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 hell of a lot better than C mode for C++...

-------------------------------------------------------------------------------
Chris Weikart <weikart@prl.dec.com> .............. DEC Paris Research Lab (PRL)
Technical Details
Message-ID: <1991Jun2.190705.11039@prl.dec.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!elroy.jpl.nasa.gov!decwrl!pa.dec.com!decprl!decprl!weikart
References: <1991May28.213939.11076@rice.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,523c1e5fce754f5b
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1991-06-02 12:58:45 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!elroy.jpl.nasa.gov!decwrl!pa.dec.com!decprl!decprl!weikart
From: weikart@prl.dec.com (Chris Weikart)
Newsgroups: gnu.epoch.misc
Subject: Re: comments and "default" label
Message-ID: <1991Jun2.190705.11039@prl.dec.com>
Date: 2 Jun 91 19:07:05 GMT
References: <1991May28.213939.11076@rice.edu>
Sender: news@prl.dec.com (USENET News System)
Reply-To: weikart@prl.dec.com (Chris Weikart)
Organization: Digital Equipment Corporation - Paris Research Laboratory
Lines: 24