TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:11143] Emacs comment folding mode?
Quoting John R. Sheets (dusk@ravendusk.org):
> On Dec 15, 1999, Bob Tanner <tanner@real-time.com> wrote:
> > > What exactly is comment folding? Is that just a handful of macros for
> > > spitting out comment decorations, or is it something more involved?
> >
> > If I remember right, it hides regions using {{{{... or something like that.
>
> Well, you can do that to blocks of code with C-x $. So if you wanted
> to hide all functions nested more than two levels, you would do this:
>
> C-u 2 C-x $
>
> Leading to something like
>
> void do_something ()
> {...
> }
How about just the comments. :-)
--
Bob Tanner <tanner@real-time.com> | Phone : (612)943-8700
http://www.real-time.com | Fax : (612)943-8500
Key fingerprint = 6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9