help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: hiding code between line numbers


From: Phillip Lord
Subject: RE: hiding code between line numbers
Date: Fri, 17 Mar 2006 16:48:40 -0000

Marc Tfardy wrote:
> Ryan Howard schrieb:
>> I am editing a long program and would like to be able to hide lines
>> 156 to 979.  This would allow me to page up quickly from line 985
>> and see variable names created on line 150.  Is there an easy way to
>> do this? 
>> 
>> I sometimes split the buffer with Cx-2, but there are cases where I
>> have multiple sections in the program that I would like to hide just
>> to allow quicker scrolling. 
>> 
>> Any suggestions are welcome.
> 
> You could try this package:
> 
> http://www.emacswiki.org/cgi-bin/emacs-de/hide-region.el
> 


For programme code, hide-show and folding mode are both very good. 
These hide based on the structure of the programme which is normally
what you want. There is allout.el as well, which I've not
tried but saw recently. 

Also worth taking a look at is ECB (Emacs code browser). Doesn't
do at all what you want, but does allow you to see variables in 
a file, as well as a methods and move backwards and forwards
between them very efficiently. 

Cheers

Phil




reply via email to

[Prev in Thread] Current Thread [Next in Thread]