From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.help Subject: Re: How to fold any text as I want? Date: Fri, 02 Nov 2007 14:53:43 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1194014444 11234 80.91.229.12 (2 Nov 2007 14:40:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 Nov 2007 14:40:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 02 15:40:46 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1InxhQ-0004Al-Iy for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Nov 2007 15:40:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1InxhG-0001lm-EZ for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Nov 2007 10:40:30 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 9 Original-X-Trace: individual.net eDmWJ+r0k3A1t9Z9nJ4acQg/cuMKI6AtDU+nBbTuMVAUF9nFny Cancel-Lock: sha1:OipalCTlDT2x9uT81rvxaBuaJTA= sha1:L8705Zsfthp0o83kfufr4Alo9ns= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (windows-nt) Original-Xref: shelby.stanford.edu gnu.emacs.help:153501 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:48988 Archived-At: Magicloud Magiclouds writes: > Now emacs provides outline and hs modes for folding, I think. But > they both need some "text hint" to do the hide/show. May I do the > hide/show by line number? Like "M-x hs-hide-ln 10, 20". Take a look at hide-region.el. It lets you hide regions of text: http://www.emacswiki.org/cgi-bin/wiki?HideRegion