unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Hansen <david.hansen@gmx.net>
Subject: Re: collapse section of code?
Date: Sun, 11 Jun 2006 18:18:08 +0200	[thread overview]
Message-ID: <87r71vwtrz.fsf@robotron.kosmorama> (raw)
In-Reply-To: C835362391A2CF4F84E985842A07518705D23669@maui.peinet.peinc.com

On Thu, 8 Jun 2006 16:27:51 -0700 Mickey Ferguson wrote:

> I'm using emacs 21.3.1 on Windows XP SP2.  I have been a long-time (27
> years now!) user of emacs, and still love it.  One thing I really like
> about the Visual Studio .NET 2005 editor is that it has the ability to
> contract and expand sections of code or comments through use of the '-'
> and '+' controls to the let of the code section.  Is there a package
> for emacs that can do that?  I know about narrow-to-region, but that
> only works for a single region.  Anything that will allow multiple
> cases of something like that?

`hs-minor-mode' can do this.

David

  parent reply	other threads:[~2006-06-11 16:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-08 23:27 collapse section of code? Mickey Ferguson
2006-06-08 23:32 ` zhihang wang
2006-06-11 16:18 ` David Hansen [this message]
     [not found] <mailman.2775.1149809275.9609.help-gnu-emacs@gnu.org>
2006-06-09  0:08 ` James
  -- strict thread matches above, loose matches on Subject: below --
2006-06-09 15:34 Mickey Ferguson

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87r71vwtrz.fsf@robotron.kosmorama \
    --to=david.hansen@gmx.net \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).