From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Barnier Subject: Re: Org-mode with multiple major modes Date: Sat, 29 Sep 2007 23:26:32 +0200 Message-ID: <87y7epb1tj.fsf@gnugnus.org> References: <87ir5vyxcs.fsf@ens-lsh.fr> <20070928102646.GA2518@atlantic.linksys.moosehall> <87abr7yqxo.fsf@ens-lsh.fr> <899c3924f4334afc19938765504b17ac@science.uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ibjpp-0005hQ-7Y for emacs-orgmode@gnu.org; Sat, 29 Sep 2007 17:26:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ibjpn-0005h6-5r for emacs-orgmode@gnu.org; Sat, 29 Sep 2007 17:26:47 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ibjpn-0005h3-26 for emacs-orgmode@gnu.org; Sat, 29 Sep 2007 17:26:47 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ibjpm-00040J-RI for emacs-orgmode@gnu.org; Sat, 29 Sep 2007 17:26:47 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ibjpi-0008L3-2n for emacs-orgmode@gnu.org; Sat, 29 Sep 2007 21:26:42 +0000 Received: from 86.66.243.91 ([86.66.243.91]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 Sep 2007 21:26:42 +0000 Received: from julien by 86.66.243.91 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 Sep 2007 21:26:42 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, > (setq org-startup-folded nil) Thanks for your answer, but it doesn't do what I wish. If I have some part of my file folded and others not, with org-startup-folded set to nil, when I move from a code chunk to a doc chunk, everything is unfolded. What I'd like is a way to disable this feature, or to enable it only when I open the file, not when I switch from another mode to org-mode in the same buffer. But maybe it is a bit complicated for a minor issue. Thanks again, -- Julien