emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Julien Barnier <julien@no-log.org>
To: emacs-orgmode@gnu.org
Subject: Org-mode with multiple major modes
Date: Fri, 28 Sep 2007 11:04:35 +0200	[thread overview]
Message-ID: <87ir5vyxcs.fsf@ens-lsh.fr> (raw)

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

             reply	other threads:[~2007-09-28  9:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-28  9:04 Julien Barnier [this message]
2007-09-28 10:26 ` Org-mode with multiple major modes Adam Spiers
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=87ir5vyxcs.fsf@ens-lsh.fr \
    --to=julien@no-log.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).