all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Phillip Lord" <Phillip.Lord@newcastle.ac.uk>
Subject: RE: hiding code between line numbers
Date: Fri, 17 Mar 2006 16:48:40 -0000	[thread overview]
Message-ID: <6942EE35B530F84EAD432959F5E4DAB501EADFE5@largo.campus.ncl.ac.uk> (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

             reply	other threads:[~2006-03-17 16:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-17 16:48 Phillip Lord [this message]
  -- strict thread matches above, loose matches on Subject: below --
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6942EE35B530F84EAD432959F5E4DAB501EADFE5@largo.campus.ncl.ac.uk \
    --to=phillip.lord@newcastle.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.