From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: BEGIN_SRC Date: Thu, 20 Aug 2009 15:36:18 -0600 Message-ID: References: <87bpmanpld.wl%ks@mocker.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MeFJ7-0004ON-4t for emacs-orgmode@gnu.org; Thu, 20 Aug 2009 17:36:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MeFJ2-0004LI-Na for emacs-orgmode@gnu.org; Thu, 20 Aug 2009 17:36:28 -0400 Received: from [199.232.76.173] (port=56486 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeFJ2-0004LF-HX for emacs-orgmode@gnu.org; Thu, 20 Aug 2009 17:36:24 -0400 Received: from rv-out-0708.google.com ([209.85.198.250]:23008) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MeFJ2-00046l-4U for emacs-orgmode@gnu.org; Thu, 20 Aug 2009 17:36:24 -0400 Received: by rv-out-0708.google.com with SMTP id c5so137713rvf.2 for ; Thu, 20 Aug 2009 14:36:23 -0700 (PDT) In-Reply-To: <87bpmanpld.wl%ks@mocker.org> (Kyle Sexton's message of "Thu, 20 Aug 2009 16:27:10 -0500") 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: Kyle Sexton Cc: org-mode Hi Kyle, I tried this with MuMaMo-minor-mode a while back. There is discussion and some code available in the old email threads, see [1] and [2]. Unfortunately MuMaMo-minor-mode fought with Org-mode and the result was too buggy to really use. I believe the author of MuMaMo has been intending a rewrite for some time now, so maybe after that occurs this would be worth another try. Best -- Eric Kyle Sexton writes: > Is it possible to have BEGIN_SRC use the mode for the programming > language within it's block? > > For example: > > #+BEGIN_SRC emacs-lisp > ; Treat this block with emacs-lisp-mode > #+END_SRC > > My first thought is that this would require mmm-mode. Anyone doing > something similar? Footnotes: [1] http://article.gmane.org/gmane.emacs.orgmode/8112/ [2] http://article.gmane.org/gmane.emacs.orgmode/12399/