From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jai Dayal Newsgroups: gmane.emacs.help Subject: Re: Arbitrary folding in emacs Date: Fri, 28 Mar 2014 10:28:17 -0400 Message-ID: References: <834n2iy9dz.fsf@gnu.org> <83ob0qslyi.fsf@gnu.org> <87r45mmmpe.fsf@thinkpad-t440p.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1396016933 12076 80.91.229.3 (28 Mar 2014 14:28:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Mar 2014 14:28:53 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" , C K Kashyap To: Tassilo Horn Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 28 15:29:02 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 1WTXmD-0008Iu-59 for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Mar 2014 15:28:57 +0100 Original-Received: from localhost ([::1]:33897 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTXmC-0005KT-KV for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Mar 2014 10:28:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTXm1-0005KK-8g for help-gnu-emacs@gnu.org; Fri, 28 Mar 2014 10:28:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTXm0-0006zM-Ab for help-gnu-emacs@gnu.org; Fri, 28 Mar 2014 10:28:45 -0400 Original-Received: from mail-vc0-x234.google.com ([2607:f8b0:400c:c03::234]:40437) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTXlv-0006yl-JB; Fri, 28 Mar 2014 10:28:39 -0400 Original-Received: by mail-vc0-f180.google.com with SMTP id lf12so5805444vcb.25 for ; Fri, 28 Mar 2014 07:28:39 -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=dsyjm4Ap6+MpKSNYWj1eHev6Uvtho7+ZlRcmXIRKcrA=; b=AtDe7mIjHGkDjCq/9rvth9SuTwmlB8c2dND16Ul6q+RIT/qUBYsD+gUAEUkR1ZCNPs MaQVg44S9pDfDaENivQ9H7RX0neGG7VVJl7qLujfbaHpPbpQGOoDHXj3ISVpFSqyAfsF m6JqlclHXKCNTThOw8EzaxdPs5HQlnatum4mJ0AqzdN5GLfamn5imUnUjadYL/RINgIo BnK4SEdXJqYxoej/R8TFB+4tEzBuwZoRLGN0steDvA0jbBBkAcpEBjT/ejF7r/XzaS0B MkPQTwEPrrc5QZ8t8Hjn49tJQejaN1pCAZ6TpPOoBUZg0L/WKJRCwc0Pik094sRdzzEp ZnRw== X-Received: by 10.220.81.194 with SMTP id y2mr469947vck.29.1396016919075; Fri, 28 Mar 2014 07:28:39 -0700 (PDT) Original-Received: by 10.221.42.10 with HTTP; Fri, 28 Mar 2014 07:28:17 -0700 (PDT) In-Reply-To: <87r45mmmpe.fsf@thinkpad-t440p.fritz.box> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c03::234 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:96813 Archived-At: Emacs doesn't have code folding natively. You can get folding.el, though http://git.savannah.gnu.org/cgit/emacs-tiny-tools.git/tree/lisp/other/folding.el?h=devel On Fri, Mar 28, 2014 at 10:17 AM, Tassilo Horn wrote: > Tim Visher writes: > > >> 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. > > He's right, it's still the opposite. I wants to mark what he doesn't > want to see whereas you mark what you want to see with narrowing. His > approach has the possible benefit that you could divide the buffer into > many hidden, shown, hidden, shown,... regions. With narrowing, it's > always hidden, shown, hidden. > > Bye, > Tassilo > >