[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Org-mode with multiple major modes
From: |
Adam Spiers |
Subject: |
Re: [Orgmode] Org-mode with multiple major modes |
Date: |
Fri, 28 Sep 2007 11:26:46 +0100 |
User-agent: |
Mutt/1.5.14 (2007-02-12) |
On Fri, Sep 28, 2007 at 11:04:35AM +0200, Julien Barnier wrote:
> 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 ?
Hi Julien,
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."
Adam