Path: utzoo!mnetor!uunet!husc6!cmcl2!nrl-cmf!ames!pasteur!ucbvax!hplabs!hplabsz!mayer From: mayer@hplabsz.HPL.HP.COM (Niels Mayer) Newsgroups: comp.emacs Subject: Re: Hiding comments in C mode Message-ID: <1460@hplabsz.HPL.HP.COM> Date: 22 Jan 88 19:19:43 GMT References: <8801202039.AA09434@ucbvax.Berkeley.EDU> <296@dana.UUCP> Reply-To: mayer@hplabsz.UUCP (Niels Mayer) Organization: Hewlett-Packard Laboratories Lines: 19 Summary: "what if..." >In article <8801202039.AA09434@ucbvax.Berkeley.EDU>, dsill@NSWC-OAS.ARPA (Dave Sill) writes: > >> being able to hide comments on command. How hard would it be to add >> this feature to GNU's C mode? It sure would be handy, and a boon to >> readability, to be able to compress comments into /**/. Kinda like >> outline mode... While in the midst of intercourse, a sudden, wonderful "what if..." (tm) sprang to mind, so I hopped out of the jacuzzi, dialed up, logged in, and dropped out to the usenet and wrote: Wouldn't it be nice to do selective display of C ifdefs in addition to C comments. Something like that might make the source code in highly portable programs such as gnuemacs much easier to deal with. ------------------------------------------------------------------------------- Niels Mayer -- hplabs!mayer -- mayer@hplabs.hp.com Hewlett-Packard Laboratories Palo Alto, CA. *