From: Jim Menard Date: 2005-04-26T07:06:33+09:00 Subject: Re: Folding editor for ruby code browsing Andrew Walrond wrote: > On Monday 25 April 2005 19:23, kyu wrote: > >>Emacs can do this just as well >>http://www.chrislott.org/geek/emacs/n2n_folding_mode.php >>(see the customizing folding mode section) > > > Thaks for the pointer, but I was really looking for something that doesn't > involve adding any special 'fold mark' comments into the code. You can tell emacs to hide anything that's indented farther than X characters in any buffer. set-selective-display (C-x $) hides lines with indentation > count, or shows everything if you don't give it a count. See the docs for that function for more information. Jim -- Jim Menard, jimm@io.com, http://www.io.com/~jimm "I have a red sign on my door. It says 'If this sign is blue, you're moving too fast.'" -- pyros on slashdot