From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.help Subject: Re: code folding Date: Sun, 14 Aug 2011 01:42:49 +0530 Message-ID: <817h6hvzni.fsf@gmail.com> References: <81tya0kdfc.fsf@gmail.com> <87bovvf5gr.fsf@altern.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1313266421 18869 80.91.229.12 (13 Aug 2011 20:13:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 13 Aug 2011 20:13:41 +0000 (UTC) Cc: help-gnu-emacs To: Le Wang Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 13 22:13:37 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QsKaP-0006c5-Ct for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Aug 2011 22:13:37 +0200 Original-Received: from localhost ([::1]:42607 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QsKaO-0005dj-JQ for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Aug 2011 16:13:36 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:41579) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QsKaJ-0005dR-AX for help-gnu-emacs@gnu.org; Sat, 13 Aug 2011 16:13:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QsKaI-0001iO-4O for help-gnu-emacs@gnu.org; Sat, 13 Aug 2011 16:13:31 -0400 Original-Received: from mail-iy0-f175.google.com ([209.85.210.175]:47072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QsKaI-0001iJ-0Q for help-gnu-emacs@gnu.org; Sat, 13 Aug 2011 16:13:30 -0400 Original-Received: by iyn15 with SMTP id 15so3292741iyn.6 for ; Sat, 13 Aug 2011 13:13:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=E4j9YlWIKu0h8FH6151G4LxhgBnLvkz3S7mBOY7yfNU=; b=STkXA2BqBiNf0EsyLtNsEBN9Tj2kSGNJSjL1fAOe2WBjPe99OhYP2fgjDgDcDPuqhA zNDOFcQ2Tt4R8bH3JfqNvLrJdc0d5Y/iXU3/y826qDN9aS3GNRI3r3KEeG9hlqkR1i4l HCZ+J39kbrltu6E07APcCqEpvljWv7qbpNlzU= Original-Received: by 10.42.161.68 with SMTP id s4mr2127786icx.261.1313266407446; Sat, 13 Aug 2011 13:13:27 -0700 (PDT) Original-Received: from JAMBU-NETBOOK ([115.184.38.227]) by mx.google.com with ESMTPS id a11sm2910788ibg.21.2011.08.13.13.13.22 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 13 Aug 2011 13:13:26 -0700 (PDT) In-Reply-To: (Le Wang's message of "Sun, 14 Aug 2011 03:38:02 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.175 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:81938 Archived-At: Le Wang writes: > On Fri, Aug 12, 2011 at 3:34 PM, Bastien wrote: >> You can also use orgstruct-mode, a minor mode that comes with org-mode. > > How? The orgmode manual doesn't address code folding in the context > of orgstruct, and my google-fu has failed me so far. Look at bindings effective while in orgstruct(++)-mode. Do a C-h b and search for orgstruct. > I currently use outline-magic, which Carsten wrote, I guess before he > made orgmode. Also see http://lists.gnu.org/archive/html/emacs-orgmode/2011-08/msg00382.html which makes references to org-global-cycle in Auctex. The above post also makes reference to this Org FAQ entry http://orgmode.org/worg/org-faq.html#use-visibility-cycling-in-outline-mode Jambunathan K. > >> >> -- >> =A0Bastien >> >>