From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: C K Kashyap Newsgroups: gmane.emacs.help Subject: Arbitrary folding in emacs Date: Fri, 28 Mar 2014 14:36:47 +0530 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1395997631 28047 80.91.229.3 (28 Mar 2014 09:07:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Mar 2014 09:07:11 +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 Mar 28 10:07:21 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 1WTSky-0007HV-Vw for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Mar 2014 10:07:21 +0100 Original-Received: from localhost ([::1]:57904 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTSky-0002g9-FC for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Mar 2014 05:07:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTSkn-0002fs-6o for help-gnu-emacs@gnu.org; Fri, 28 Mar 2014 05:07:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTSkm-0004G8-6M for help-gnu-emacs@gnu.org; Fri, 28 Mar 2014 05:07:09 -0400 Original-Received: from mail-qc0-x236.google.com ([2607:f8b0:400d:c01::236]:34715) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTSkm-0004G2-2W for help-gnu-emacs@gnu.org; Fri, 28 Mar 2014 05:07:08 -0400 Original-Received: by mail-qc0-f182.google.com with SMTP id e16so5662353qcx.27 for ; Fri, 28 Mar 2014 02:07:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=aGVurM0pN6F4K2TS2VOP4rl4gUkmAluIyBZKuLCTjK4=; b=T2OKAGkmcThYMbsgotm1KTz98TSByjIsUrv4Q1BqgK7qLagtgaRhKulmGhLtfxnxUd zr7KwRIvHwsqdftWRlSVRjvyTCSw8zKRcnc8IZMX3/iLRodj4vKsJKffP/3Gwg2nz8Yr kQgzO8ybBcQamR8Ddvz6A2jDqmsRR+mvFn6krGArsmDSwsR3vzzNCGB0/ceH/cQ7wMxz sL31ZEzmGviW5awf2OkOT3O0l0KInCutV6Y8yArtYt+SSk4uhc1GFI/9HalCd8/cGG9O vqLY7r3Hmd3t7we51lgL5eyMZyKV2Nenlhlp49MqyJ5+/cGdc4hEbu/CApROalvQAiS0 +6+Q== X-Received: by 10.224.66.74 with SMTP id m10mr7909031qai.14.1395997627322; Fri, 28 Mar 2014 02:07:07 -0700 (PDT) Original-Received: by 10.229.159.211 with HTTP; Fri, 28 Mar 2014 02:06:47 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c01::236 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:96791 Archived-At: I am trying to go-over a huge c++ file. In vim, I can collapse a huge set of lines by simply highlighting it an then doing a zf. I was wondering if I can do something similar in emacs - rather how I can do it in emacs. I tried hs-minor-mode but it appears to have pre-defined notions of "foldable" blocks. Regards, Kashyap