Thread View: gnu.epoch.misc
3 messages
3 total messages
Started by Joe Hellerstein
Wed, 30 Oct 1991 01:07
Emacs/Epoch discrepancy in c-mode?
Author: Joe Hellerstein
Date: Wed, 30 Oct 1991 01:07
Date: Wed, 30 Oct 1991 01:07
34 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 -- ----------------------------------------------------------------------------- Joe Hellerstein | "Laziness in doing stupid things joey@postgres.berkeley.edu | can be a great virtue" -- James Hilton
Emacs/Epoch discrepancy in c-mode?
Author: 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
Re: Emacs/Epoch discrepancy in c-mode?
Author: Quentin Stafford-Fraser
Date: Wed, 30 Oct 1991 15:45
Date: Wed, 30 Oct 1991 15:45
16 lines
1364 bytes
1364 bytes
In article <kgs1e3INNb7p@agate.berkeley.edu>, joey@eden.Berkeley.EDU (Joe Hellerstein) writes: |> 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 :-). I like it for 'case' statements, so don't be embarrassed! ------------------------------------------------------------------------ Quentin Stafford-Fraser "I've no idea what my employer Cambridge University Computer Lab thinks about this." qs101@cl.cam.ac.uk Tel +44 223 334645 ------------------------------------------------------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads