Article View: gnu.epoch.misc
Article #1676Emacs/Epoch discrepancy in c-mode?
From: Haider Abbas Rizvi
Date: Wed, 30 Oct 1991 02:20
Date: Wed, 30 Oct 1991 02:20
35 lines
1529 bytes
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 > Try putting the following line in your .emacs or .epoch or whatever init file you have. (modify-syntax-entry ?: "." c-mode-syntax-table) -- Haider
Technical Details
Message-ID:
<9110300220.AA05124@pi.rice.edu>Path:
arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!think.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!rice.edu!haiderReferences:
<kgs1e3INNb7p@agate.berkeley.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc7ee,a14560faefac2d95 X-Google-Attributes: gidfc7ee,public X-Google-ArrivalTime: 1991-10-30 05:25:05 PST Path: arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!think.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!rice.edu!haider From: haider@rice.edu (Haider Abbas Rizvi) Newsgroups: gnu.epoch.misc Subject: Emacs/Epoch discrepancy in c-mode? Message-ID: <9110300220.AA05124@pi.rice.edu> Date: 30 Oct 91 02:20:13 GMT References: <kgs1e3INNb7p@agate.berkeley.edu> Sender: daemon@cis.ohio-state.edu Reply-To: haider@rice.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 35