emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Michael Olson <mwolson@gnu.org>
Cc: emacs-orgmode@gnu.org, emacs-wiki-discuss@nongnu.org
Subject: Re: Interaction of org-mode and Muse (was: Adapting org-mode to my needs)
Date: Thu, 27 Apr 2006 09:31:01 +0200	[thread overview]
Message-ID: <6d317e262aa13872492a4f94066f2ddc@science.uva.nl> (raw)
In-Reply-To: <87k69c6qiu.fsf_-_@tuxtanker.mwolson.org>


Hi Michael,

On Apr 26, 2006, at 22:16, Michael Olson wrote:
>
> On that note, in a couple of weeks (once finals and the next Muse
> release are done), I'm going to take a look at org-mode and try to
> figure out different ways that Muse and org-mode can interact, since
> this is something that people on the Muse mailing list have requested
> in the past.  Especially since Muse will probably be entering Emacs
> once Emacs22 is released.

Besides the obvious interaction, using the Muse engine to produce
other export formats, can you think of more ways to interact?

> One of the plans for the next release of Muse + 1 (3.04) is to support
> publishing documents that use other markup syntaxes, such as Markdown
> and reSt.  Perhaps org-mode syntax could be supported as well.

I have actually been thinking about an org-to-muse converter as a 
possibility for easy expansion to many more export formats.  So I have 
a number of ideas about what would be needed and where the difficulties 
lie.  A short appetizer:

- Headline detection should be trivial, however
- Org-mode uses (at least: can use) many more levels than the 4
   available in Muse now.  The Org-mode exporters just switch to
   itemized lists at some headline level.
- Org-mode allows plain lists (itemize, bullet, numbered) of
   arbitrary depth and uses indentation to see the end of items.
   Muse, if I remember correctly, has one level of lists and is
   therefore very relaxed about indentation in lists
- Apart from plain lists, indentation is not syntactically significant
   in Org-mode, it is more visual sugar to make outline easily readable.
   Muse uses indentation for syntax, to quote text, for example.
- Links are similar, but not identical.
- Org-mode table lines also start with "|".  Table headlines are
   implicit, before the first horizontal line in the table.  No
   footer lines.
- etc.....

It can be done, but it is not trivial.

- Carsten

  reply	other threads:[~2006-04-27  8:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-18 15:06 Adapting org-mode to my needs David O'Toole
2006-04-19  6:10 ` Carsten Dominik
2006-04-19 12:22   ` Carsten Dominik
2006-04-19 13:53   ` David O'Toole
2006-04-21  2:31   ` David O'Toole
2006-04-21  8:04     ` Carsten Dominik
2006-04-21  8:16       ` David Emery
2006-04-21 14:11       ` Carsten Dominik
2006-04-21 14:33         ` David O'Toole
2006-04-26 20:16   ` Interaction of org-mode and Muse (was: Adapting org-mode to my needs) Michael Olson
2006-04-27  7:31     ` Carsten Dominik [this message]
2006-04-27 12:56       ` [Emacs-orgmode] Interaction of org-mode and Muse Michael Olson

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=6d317e262aa13872492a4f94066f2ddc@science.uva.nl \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=emacs-wiki-discuss@nongnu.org \
    --cc=mwolson@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).