From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Visher Newsgroups: gmane.emacs.help Subject: Re: Arbitrary folding in emacs Date: Fri, 28 Mar 2014 07:45:53 -0400 Message-ID: References: <834n2iy9dz.fsf@gnu.org> <83ob0qslyi.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1396007199 14845 80.91.229.3 (28 Mar 2014 11:46:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Mar 2014 11:46:39 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: C K Kashyap Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 28 12:46:50 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WTVFJ-0006h9-Lz for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Mar 2014 12:46:49 +0100 Original-Received: from localhost ([::1]:60740 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTVFJ-0002He-9U for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Mar 2014 07:46:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36275) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTVF6-0002HR-HP for help-gnu-emacs@gnu.org; Fri, 28 Mar 2014 07:46:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTVF5-0003G2-La for help-gnu-emacs@gnu.org; Fri, 28 Mar 2014 07:46:36 -0400 Original-Received: from mail-qg0-x22b.google.com ([2607:f8b0:400d:c04::22b]:63685) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTVF4-0003Eu-1s; Fri, 28 Mar 2014 07:46:34 -0400 Original-Received: by mail-qg0-f43.google.com with SMTP id f51so4286239qge.30 for ; Fri, 28 Mar 2014 04:46:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=AANrOuKIdeWDBb7RWKWlwQ4zwZjFcdn3npOAY/id/Vg=; b=oqGBqH6EE4Tly9juNMTAzjZzPGqvpH7ZZQZugCfGqDH5R2rFMJnSq6JrkaDb4A/ZIk k7XamnTmgSxzHS7ZBrlJSpDvNfPMeAZk5ZlM59RWzJx7zbytggEx7XTG+cDjixG+DSo4 aPg1vFCZ4u1ajbvBJMW0AddEzU8qhPCS1neGsdvk3jh5P5xRXytJhHHm10UT62K2Vmhi 5e0nFbjR6ADZBvzYmhurFHYr1luxqg1nPVHDAUIFS4gtZB3/V1ybcVjAmD4d/RDGAmIn WfaW7l6beot3NDGcQ/IHj3fpvxJcSRM/P+4nSKhfdClGbjS5ord6Bgamx5yYdw4i0IJv MgWQ== X-Received: by 10.140.50.74 with SMTP id r68mr8150856qga.22.1396007193362; Fri, 28 Mar 2014 04:46:33 -0700 (PDT) Original-Received: by 10.140.101.151 with HTTP; Fri, 28 Mar 2014 04:45:53 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c04::22b X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:96799 Archived-At: Hi Kashyap, On Fri, Mar 28, 2014 at 5:50 AM, C K Kashyap wrote: > narrowing the region is kind of opposite of what I am looking for - but > I'll give it a shot - I am not familiar with it. To be clear, what I believe Eli is saying is to mark the entirety of the buffer that you're interested in seeing, and then Calling narrow-to-region. If you highlight the stuff you don't want to see and call narrow-to-region, it will indeed have quite the opposite effect of what you're looking for. I too would be interested in being able to hide away a region as vim is capable of, but I've never heard of a feature like that in Emacs. It might be a very useful extension to hs-minor-mode. -- In Christ, Timmy V. http://blog.twonegatives.com/ http://five.sentenc.es/ -- Spend less time on mail