emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Adam Spiers <orgmode@adamspiers.org>
To: emacs-orgmode@gnu.org
Subject: Re: Org-mode with multiple major modes
Date: Fri, 28 Sep 2007 11:26:46 +0100	[thread overview]
Message-ID: <20070928102646.GA2518@atlantic.linksys.moosehall> (raw)
In-Reply-To: <87ir5vyxcs.fsf@ens-lsh.fr>

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

  reply	other threads:[~2007-09-28 10:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-28  9:04 Org-mode with multiple major modes Julien Barnier
2007-09-28 10:26 ` Adam Spiers [this message]
2007-09-28 11:23   ` Julien Barnier
2007-09-29 12:49     ` Carsten Dominik
2007-09-29 21:26       ` Julien Barnier
2007-09-30 14:10         ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070928102646.GA2518@atlantic.linksys.moosehall \
    --to=orgmode@adamspiers.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).