all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* hiding code between line numbers
@ 2006-03-17 15:54 Ryan Howard
  2006-03-17 16:09 ` Marc Tfardy
  2006-03-17 16:18 ` Pascal Bourguignon
  0 siblings, 2 replies; 7+ messages in thread
From: Ryan Howard @ 2006-03-17 15:54 UTC (permalink / raw)


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.

Ryan

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: hiding code between line numbers
@ 2006-03-17 16:48 Phillip Lord
  0 siblings, 0 replies; 7+ messages in thread
From: Phillip Lord @ 2006-03-17 16:48 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-03-20 16:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-17 15:54 hiding code between line numbers Ryan Howard
2006-03-17 16:09 ` Marc Tfardy
2006-03-17 20:16   ` Ryan Howard
2006-03-20 16:09     ` Mathias Dahl
2006-03-19  2:55   ` Giorgos Keramidas
2006-03-17 16:18 ` Pascal Bourguignon
  -- strict thread matches above, loose matches on Subject: below --
2006-03-17 16:48 Phillip Lord

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.