From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Magicloud Magiclouds Newsgroups: gmane.emacs.help Subject: How to fold any text as I want? Date: Fri, 02 Nov 2007 09:28:57 +0800 Message-ID: <472A7D59.7050207@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1193966959 19270 80.91.229.12 (2 Nov 2007 01:29:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 Nov 2007 01:29:19 +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 02:29:21 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 1InlLc-000492-Op for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Nov 2007 02:29:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1InlLS-0003MC-Ta for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Nov 2007 21:29:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1InlLE-0003Lx-AP for help-gnu-emacs@gnu.org; Thu, 01 Nov 2007 21:28:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1InlLA-0003LY-Hq for help-gnu-emacs@gnu.org; Thu, 01 Nov 2007 21:28:56 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1InlLA-0003LT-De for help-gnu-emacs@gnu.org; Thu, 01 Nov 2007 21:28:52 -0400 Original-Received: from rv-out-0910.google.com ([209.85.198.185]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1InlLA-00087h-6A for help-gnu-emacs@gnu.org; Thu, 01 Nov 2007 21:28:52 -0400 Original-Received: by rv-out-0910.google.com with SMTP id c27so537423rvf for ; Thu, 01 Nov 2007 18:28:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; bh=SiHaXCmGk3fMo/yBWthXnVrR83q+2Wa1xcs/kbYCSvg=; b=mK9R5EEEnwbM53PXdGGgVemviZwlYMgBAoBGDXEzcr9CRjmvGIt2rD8fG6CaWEXIPqZQLRGamgOdPLpfqsV1J/LpvqL/EF1aN1q7J5pgRgFrSDm9YF5Sfo9qpIYJSC3Vw+F7TTQVFMmusamyjApRI92zrEi6FX3C9BkQy+uJ9cc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=sEh26P3ma2t08XNGFIfOEb0FOdWWi9nwuPlV9wjv3OcoeiK5KJ44n/YFkf0kpNgJZzh8nkAOQvQNxYYi3HgSg0AzxmbhBWGJS7WUAIgvMHPPKQHn6k3H3mVqpigAvDj295xLjpYYm+Bx0w8Cw9jrs/O8yX9p1Ih3afBb4JL17Z0= Original-Received: by 10.141.178.5 with SMTP id f5mr615819rvp.1193966929995; Thu, 01 Nov 2007 18:28:49 -0700 (PDT) Original-Received: from ?192.168.0.168? ( [218.80.205.126]) by mx.google.com with ESMTPS id g31sm5048194rvb.2007.11.01.18.28.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 01 Nov 2007 18:28:49 -0700 (PDT) User-Agent: Mozilla-Thunderbird 2.0.0.6 (X11/20071009) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:48973 Archived-At: Dear, 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". Thanks.