From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Interaction of org-mode and Muse (was: Adapting org-mode to my needs) Date: Thu, 27 Apr 2006 09:31:01 +0200 Message-ID: <6d317e262aa13872492a4f94066f2ddc@science.uva.nl> References: <8ad6e8e719e192f5101f6b5f2b9d651b@science.uva.nl> <87k69c6qiu.fsf_-_@tuxtanker.mwolson.org> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FZ1kW-00014q-LE for emacs-orgmode@gnu.org; Thu, 27 Apr 2006 04:21:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FZ1kV-00014C-Gb for emacs-orgmode@gnu.org; Thu, 27 Apr 2006 04:21:19 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FZ1kV-000146-Cr for emacs-orgmode@gnu.org; Thu, 27 Apr 2006 04:21:19 -0400 Received: from [66.249.92.171] (helo=uproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FZ1nN-0000r8-7R for emacs-orgmode@gnu.org; Thu, 27 Apr 2006 04:24:17 -0400 Received: by uproxy.gmail.com with SMTP id m2so1314411ugc for ; Thu, 27 Apr 2006 01:21:18 -0700 (PDT) In-Reply-To: <87k69c6qiu.fsf_-_@tuxtanker.mwolson.org> 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: Michael Olson Cc: emacs-orgmode@gnu.org, emacs-wiki-discuss@nongnu.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