emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: Dave Abrahams <dave@boostpro.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Using org-babel in other modes?
Date: Mon, 10 Oct 2011 08:41:50 -0600	[thread overview]
Message-ID: <87wrccx4cl.fsf@gmail.com> (raw)
In-Reply-To: m2obxpn8kz.fsf@pluto.luannocracy.com

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 <dave@boostpro.com> 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/

      parent reply	other threads:[~2011-10-10 15:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-09 21:44 Using org-babel in other modes? Dave Abrahams
2011-10-10  0:08 ` Bernt Hansen
2011-10-10  0:52   ` Dave Abrahams
2011-10-10  1:00     ` Bernt Hansen
2011-10-10  7:39   ` zwz
2011-10-10 14:41 ` Eric Schulte [this message]

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=87wrccx4cl.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=dave@boostpro.com \
    --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).