From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Using org-babel in other modes? Date: Sun, 09 Oct 2011 21:00:39 -0400 Message-ID: <87y5wtek3s.fsf@norang.ca> References: <8739f1g12k.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:38115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RD4EY-00055n-7w for emacs-orgmode@gnu.org; Sun, 09 Oct 2011 21:00:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RD4EX-0003oV-6f for emacs-orgmode@gnu.org; Sun, 09 Oct 2011 21:00:46 -0400 Received: from mho-03-ewr.mailhop.org ([204.13.248.66]:49150 helo=mho-01-ewr.mailhop.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RD4EX-0003oN-3O for emacs-orgmode@gnu.org; Sun, 09 Oct 2011 21:00:45 -0400 In-Reply-To: (Dave Abrahams's message of "Sun, 09 Oct 2011 20:52:30 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dave Abrahams Cc: emacs-orgmode@gnu.org Dave Abrahams writes: > on Sun Oct 09 2011, Bernt Hansen 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