🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189670

Re: folding C sources in respect to #ifdef's

#189670
From: Colin Rafferty
Date: Fri, 07 Dec 1990 16:04
23 lines
2057 bytes
In article <MICHAEL.90Dec6095415@athene.uni-paderborn.de> michael@uni-paderborn.de (Michael Schmidt) writes:
> I vaguely remember, that some time ago, a discussion took place,
> whether it is possible to fold a C source, so that only the relevant
> lines are visible and the parts in #ifdef's, that are not defined are
> hidden.

You are looking for hide-ifdef-mode.  This was written by Brian Marick
and Daniel LaLiberte at Gould, Computer Systems Division, Urbana IL.
I don't know if it's on an ftp archive or mail server somewhere, but I
will mail it to anyone who wants it, or post it to gnu.emacs.sources
if there are enough requests.
--

  //=====================================\/==============================\\
  ||       Colin Owen Rafferty           ||  "Life is so complex, parts  ||
  ||        colin@nbc1.ge.com            ||   of it must be imaginary."  ||
  || {philabs,crdgw1,ge-dab}!nbc1!colin  ||               -Tim Thiel     ||
  \\=====================================/\==============================//
-- 

  //=====================================\/==============================\\
  ||       Colin Owen Rafferty           ||  "Life is so complex, parts  ||
  ||        colin@nbc1.ge.com            ||   of it must be imaginary."  ||
Technical Details
Message-ID: <COLIN.90Dec7110454@nbc1.ge.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!apple!julius.cs.uiuc.edu!rpi!crdgw1!ge-dab.ge.com!nbc1!nbc1!colin
References: <MICHAEL.90Dec6095415@athene.uni-paderborn.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,6efa649af85accfa
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1990-12-07 21:04:04 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!apple!julius.cs.uiuc.edu!rpi!crdgw1!ge-dab.ge.com!nbc1!nbc1!colin
From: colin@nbc1.ge.com (Colin Rafferty)
Newsgroups: gnu.emacs.help
Subject: Re: folding C sources in respect to #ifdef's
Message-ID: <COLIN.90Dec7110454@nbc1.ge.com>
Date: 7 Dec 90 16:04:54 GMT
References: <MICHAEL.90Dec6095415@athene.uni-paderborn.de>
Sender: colin@nbc1.ge.com (Colin Rafferty)
Distribution: gnu
Organization: National Broadcasting Company, Inc., New York
Lines: 23
Posted: Fri Dec  7 17:04:54 1990
In-Reply-To: michael@uni-paderborn.de's message of 6 Dec 90 08:54:15 GMT