From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Barnier Subject: Org-mode with multiple major modes Date: Fri, 28 Sep 2007 11:04:35 +0200 Message-ID: <87ir5vyxcs.fsf@ens-lsh.fr> 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 1IbC5w-0006IU-Ml for emacs-orgmode@gnu.org; Fri, 28 Sep 2007 05:25:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IbC5v-0006H0-0y for emacs-orgmode@gnu.org; Fri, 28 Sep 2007 05:25:11 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbC5u-0006Gt-PG for emacs-orgmode@gnu.org; Fri, 28 Sep 2007 05:25:10 -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 1IbC5u-0003mN-7B for emacs-orgmode@gnu.org; Fri, 28 Sep 2007 05:25:10 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1IbC5m-0005as-QT for emacs-orgmode@gnu.org; Fri, 28 Sep 2007 09:25:02 +0000 Received: from 193.51.129.141 ([193.51.129.141]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Sep 2007 09:25:02 +0000 Received: from julien by 193.51.129.141 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Sep 2007 09:25:02 +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 to all, And first of all, thanks for this stunning tool. My problem is that I'd like to use org-mode in conjunction with noweb-mode, which is used to distinguish code chunks and doc chunks in my file, using two different major modes for each one (with org-mode used for doc chunks). It works great, except that when I move from a code chunk to a doc chunk, org-mode seems to apply its startup options, and specially the org-startup-folded one. So if I fold or unfold some sections in my doc chunks, they are all folded or unfolded (depending on the org-startup-folded value) when I move from a code chunk to a doc chunk. Do you have any idea on how to solve this minor point ? Thanks in advance for any help, -- Julien