🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #1810

Re: Problem indenting 'default: ' within switch statements

#1810
From: 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
Technical Details
Message-ID: <1991Jul25.184607.18814@m.cs.uiuc.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!wupost!m.cs.uiuc.edu!uiucdcs!carroll
References: <1991Jul24.221411.11176@lgc.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,172835a3188bf374
X-Google-Attributes: gidfc7ee,public
X-Google-Thread: 103b8b,172835a3188bf374
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-07-25 15:31:41 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!wupost!m.cs.uiuc.edu!uiucdcs!carroll
From: carroll@cs.uiuc.edu (Alan M. Carroll)
Newsgroups: gnu.epoch.misc,gnu.emacs.help
Subject: Re: Problem indenting 'default: ' within switch statements
Message-ID: <1991Jul25.184607.18814@m.cs.uiuc.edu>
Date: 25 Jul 91 18:46:07 GMT
References: <1991Jul24.221411.11176@lgc.com>
Sender: news@m.cs.uiuc.edu (News Database (admin-Mike Schwager))
Organization: Technophiles Inc. - Engineers with Attitude
Lines: 15
Nntp-Posting-Host: ash.cs.uiuc.edu