[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Using org-babel in other modes?
From: |
Eric Schulte |
Subject: |
Re: [O] Using org-babel in other modes? |
Date: |
Mon, 10 Oct 2011 08:41:50 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Hi Dave,
Sadly I think the level of effort here is likely closer to "read the
code and figure it out" than to a quick <1hour effort. I would have to
dig through the code to figure out exactly how difficult this would be,
but I would imagine that the different moving parts which make this work
in Org-mode are likely scattered in a couple of different places.
There is MuMaMo-mode which is not related to the Org-mode implementation
but is designed specifically for embedding multiple major modes into a
single mode. However it can sometimes be hairy to configure and it
proved insufficient for the source-code-block highlighting in Org-mode.
Best -- Eric
Dave Abrahams <address@hidden> writes:
> Org-babel does a magic thing where you get to edit and view your source
> code blocks in their native modes. Wow!
>
> I also happen to use markdown-mode to write blog articles. How hard, on
> a scale from "read the source and figure it out" to "org-babel already
> has the hooks; you can do it in 5 minutes," would it be to integrate the
> org-babel stuff with markdown?
>
> Seems like this trick would be extremely useful for quite a few modes
> (RestructuredText, anyone?)
>
> Thanks,
--
Eric Schulte
http://cs.unm.edu/~eschulte/