emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Dave Abrahams <dave@boostpro.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Using org-babel in other modes?
Date: Sun, 09 Oct 2011 21:00:39 -0400	[thread overview]
Message-ID: <87y5wtek3s.fsf@norang.ca> (raw)
In-Reply-To: <m21uulk6r5.fsf@pluto.luannocracy.com> (Dave Abrahams's message of "Sun, 09 Oct 2011 20:52:30 -0400")

Dave Abrahams <dave@boostpro.com> writes:

> on Sun Oct 09 2011, Bernt Hansen <bernt-AT-norang.ca> wrote:
>
>> (add-to-list 'org-src-lang-modes (quote ("plantuml" . fundamental)))
>> This enables fundamental-mode when I C-c ' on a plantuml block
>> #+begin_src plantuml :file foo.png
>>
>> #+end_src
>> Does that help?
>
> I'm not sure... *looks up org-src-lang-modes* Oh, no I think you
> misunderstood me.  I am not trying to add an additional language
> recognizer to org-babel.
>
> Markdown is a plaintext document format roughly similar to Org.  What I
> want is to modify markdown-mode so that /its/ code blocks, which are
> currently recognized by markdown-mode but rendered in one solid face and
> without any language-specific editing smarts, behave like org's.

Ah, sorry I don't know how this is implemented in org (for the
fontification of source) so I can't help with making markdown-mode work
the way you want.

Regards,
Bernt

  reply	other threads:[~2011-10-10  1:00 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 [this message]
2011-10-10  7:39   ` zwz
2011-10-10 14:41 ` Eric Schulte

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=87y5wtek3s.fsf@norang.ca \
    --to=bernt@norang.ca \
    --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).