From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-15?Q?S=E9bastien?= Kirche Newsgroups: gmane.emacs.help Subject: Re: expand/collapse{} in c++ Date: Tue, 23 Aug 2005 22:47:54 +0200 Organization: Aucune. Message-ID: <85ll2sjs79.fsf@obelix.seki.fr> References: <87y86s2zl5.fsf@wash.edu> Reply-To: =?iso-8859-15?Q?S=E9bastien?= Kirche NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1124830342 9369 80.91.229.2 (23 Aug 2005 20:52:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 Aug 2005 20:52:22 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 23 22:52:17 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E7fkR-00088Q-Ve for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Aug 2005 22:51:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E7foF-0000Xj-1n for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Aug 2005 16:55:51 -0400 Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: falbala.seki.fr Original-X-Trace: yeuse.cuq.org 1124830074 32586 81.56.248.57 (23 Aug 2005 20:47:54 GMT) Original-X-Complaints-To: abuse@cuq.org Original-NNTP-Posting-Date: Tue, 23 Aug 2005 20:47:54 +0000 (UTC) X-Face: ; T}O6aj2o*d:|9po%NCuYvExN3]<#cHr0"FaWCh[}WVn6&@L)YWO'&6AO5Ex:MX=H; .^e}o Td*OaFQEBc_xu%+ChwRl!KK`I'["$^aO1gIN{4OyBdO@1HHD5YO#[kiVCk|/-|mmYnU8yTp+eOv."d 1.G3; ro0Q/`,UY+vY/#5b/{OYxE+X\)tc~p~1vbmZ!o4sciW+e8MW|Pz|nl`l*}]8[#1zQO"]d2*{d wrTKu]5t*Gy_pm3e8o=:(c_ju'zlQ<[oJ|\XjgQQmWZC7S]-Fmp\eBHnBO']/te~/; \@l" D#:h)8Q User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:Hlmq4uAu3OTlvItyw9aiHPq6HPs= Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!proxad.net!feed.ac-versailles.fr!news.cuq.org!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:133410 Original-To: help-gnu-emacs@gnu.org 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:28941 Archived-At: At 22:08 on aoû 23 2005, Baloff said : > I tried to find out how to do this expand/collapse the code into {...} > from the info docs but it is not there. could someone help please. Look at "FoldingMode" in the wiki : http://www.emacswiki.org/cgi-bin/wiki/CategoryOutline FoldingMode does exactly what you need but it needs some modification of the file to add some delimiters for the folds. Fold-mode prototype from Marcus Breiing does without modification of the file. HTH. -- Sébastien Kirche