From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Hansen Newsgroups: gmane.emacs.help Subject: Re: collapse section of code? Date: Sun, 11 Jun 2006 18:18:08 +0200 Organization: disorganized Message-ID: <87r71vwtrz.fsf@robotron.kosmorama> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1150042985 15744 80.91.229.2 (11 Jun 2006 16:23:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 11 Jun 2006 16:23:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 11 18:23:03 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FpSiL-0007Ac-Cw for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Jun 2006 18:23:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FpSiK-0001qh-Sd for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Jun 2006 12:23:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FpSi8-0001pY-EJ for help-gnu-emacs@gnu.org; Sun, 11 Jun 2006 12:22:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FpSi5-0001nH-KP for help-gnu-emacs@gnu.org; Sun, 11 Jun 2006 12:22:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FpSi5-0001nE-C8 for help-gnu-emacs@gnu.org; Sun, 11 Jun 2006 12:22:45 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FpSqc-00033R-6j for help-gnu-emacs@gnu.org; Sun, 11 Jun 2006 12:31:34 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FpSht-00077o-Dy for help-gnu-emacs@gnu.org; Sun, 11 Jun 2006 18:22:33 +0200 Original-Received: from e178044142.adsl.alicedsl.de ([85.178.44.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 11 Jun 2006 18:22:33 +0200 Original-Received: from david.hansen by e178044142.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 11 Jun 2006 18:22:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-To: help-gnu-emacs@gnu.org Original-Lines: 14 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: e178044142.adsl.alicedsl.de Mail-Copies-To: nobody User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:9bUd779CupaygQcNKHsI3vt1G8w= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:35398 Archived-At: 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