From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Arbitrary folding in emacs Date: Fri, 28 Mar 2014 12:12:24 +0300 Message-ID: <834n2iy9dz.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1395997963 32337 80.91.229.3 (28 Mar 2014 09:12:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Mar 2014 09:12:43 +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:12:52 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 1WTSqJ-0001pL-GO for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Mar 2014 10:12:51 +0100 Original-Received: from localhost ([::1]:57914 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTSqH-000737-Uz for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Mar 2014 05:12:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTSq0-000730-9B for help-gnu-emacs@gnu.org; Fri, 28 Mar 2014 05:12:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTSps-0005qt-HH for help-gnu-emacs@gnu.org; Fri, 28 Mar 2014 05:12:32 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:33297) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTSps-0005qf-9D for help-gnu-emacs@gnu.org; Fri, 28 Mar 2014 05:12:24 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0N3500C002LXIZ00@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Fri, 28 Mar 2014 12:12:22 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N3500CW72WM2XB0@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Fri, 28 Mar 2014 12:12:22 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 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:96793 Archived-At: > From: C K Kashyap > Date: Fri, 28 Mar 2014 14:36:47 +0530 > > 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. Try "C-x $", giving it an argument that says how deep should a line be indented before it is replaced by an ellipsis.