From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Barnier Subject: Re: Org-mode with multiple major modes Date: Fri, 28 Sep 2007 13:23:15 +0200 Message-ID: <87abr7yqxo.fsf@ens-lsh.fr> References: <87ir5vyxcs.fsf@ens-lsh.fr> <20070928102646.GA2518@atlantic.linksys.moosehall> 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 1IbDy1-0006SM-Sp for emacs-orgmode@gnu.org; Fri, 28 Sep 2007 07:25:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IbDxz-0006Rp-0w for emacs-orgmode@gnu.org; Fri, 28 Sep 2007 07:25:09 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbDxy-0006Rm-R1 for emacs-orgmode@gnu.org; Fri, 28 Sep 2007 07:25:06 -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 1IbDxy-0003NL-Cg for emacs-orgmode@gnu.org; Fri, 28 Sep 2007 07:25:06 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IbDxs-0002TO-RW for emacs-orgmode@gnu.org; Fri, 28 Sep 2007 11:25:01 +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 11:25:00 +0000 Received: from julien by 193.51.129.141 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Sep 2007 11:25:00 +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 Adam, > Would this solve your problem? > > http://mmm-mode.sourceforge.net/ > > "MMM Mode is an emacs add-on package providing a minor mode that > allows Multiple Major Modes to coexist in one buffer." In fact, I already have my two major modes coexisting in the same buffer thanks to noweb-mode. What I am looking for is a way to disable the org-startup-folded call when I move from a code chunk (in another mode) to a doc chunk (in org-mode). I don't think mmm-mode would solve the problem. Thanks for your help, -- Julien