🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Gary Thompson Wed, 24 Jul 1991 22:14
Problem indenting 'default: ' within switch statements
#1809
Author: Gary Thompson
Date: Wed, 24 Jul 1991 22:14
19 lines
1694 bytes
I just installed epoch 3.2 and really love it.  However, today I noticed that
I can't get the 'default:' to indent along with the other labels in the
switch statement.  I have heard of people having this problem within emacs
but have never heard of an explanation.

Strangely enough, it does not happen when I run emacs itself even though emacs
and epoch are using the same c-mode files and they both load in the same 
.emacs file.  Any ideas would be most appreciated.


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Gary Thompson					      gthompson@lgc.com
Landmark Graphics        			Work:	 (713) 579-4765
333 Cypress Run  Houston, TX 77094		Home:	 (713) 391-2479
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Gary Thompson					      gthompson@lgc.com
Landmark Graphics        			Work:	 (713) 579-4765
333 Cypress Run  Houston, TX 77094		Home:	 (713) 391-2479
Re: Problem indenting 'default: ' within switch statements
#1810
Author: Alan M. Carroll
Date: Thu, 25 Jul 1991 18:46
15 lines
1319 bytes
In article <1991Jul24.221411.11176@lgc.com>, gthompson@lgc.com (Gary Thompson) writes:
> I just installed epoch 3.2 and really love it.  However, today I noticed that
> I can't get the 'default:' to indent along with the other labels in the
> switch statement.

It's a known bug. Put

(modify-syntax-entry ?: "." c-mode-syntax-table)

into your .emacs.

-- 
Alan M. Carroll          <-- Another casualty of applied metaphysics
Epoch Development Team   
Urbana Il.               "I hate shopping with the reality-impaired" - Susan
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