🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #1675

Emacs/Epoch discrepancy in c-mode?

#1675
From: Joe Hellerstein
Date: Wed, 30 Oct 1991 01:07
34 lines
1529 bytes
I've been using Emacs for quite a while (v. 18.57.34) and recently
switched over to Epoch (v. 3.2.6).  Just recently I noticed that
in c-mode, Epoch does not indent identifiers for gotos the way that
Emacs did.  Particularly, Emacs used to indent identifiers slightly to the 
left of the code, which I liked, and Epoch doesn't.  For instance: 

In Emacs:
--------
   goto exit;
   ...
 exit:
   return(rc);

In Epoch:
--------
   goto exit;
   ...
   exit:
   return(rc);

Has anyone else noticed this, and can you suggest a way to get the 
Emacs-like behavior?  Please no flames over using goto's in C, we all 
have our quirks :-).

Joe Hellerstein




-- 

-----------------------------------------------------------------------------
Joe Hellerstein                    |  "Laziness in doing stupid things 
joey@postgres.berkeley.edu         |   can be a great virtue" -- James Hilton
Technical Details
Message-ID: <kgs1e3INNb7p@agate.berkeley.edu>
Path: arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!spool.mu.edu!agate!eden.Berkeley.EDU!joey

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,a14560faefac2d95,start
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1991-10-30 04:07:54 PST
Path: arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!spool.mu.edu!agate!eden.Berkeley.EDU!joey
From: joey@eden.Berkeley.EDU (Joe Hellerstein)
Newsgroups: gnu.epoch.misc
Subject: Emacs/Epoch discrepancy in c-mode?
Message-ID: <kgs1e3INNb7p@agate.berkeley.edu>
Date: 30 Oct 91 01:07:15 GMT
Distribution: gnu
Organization: University of California at Berkeley
Lines: 34
NNTP-Posting-Host: eden.berkeley.edu
Originator: joey@eden.Berkeley.EDU