From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Using orgstruct-mode to structure source code Date: Wed, 03 Sep 2008 07:39:53 -0700 Message-ID: <87ej41s37q.fsf@gmail.com> References: <87od35fx3a.fsf@thinkpad.tsdh.de> <87k5dtfs3z.fsf@thinkpad.tsdh.de> 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 1KatWX-0005SS-HU for emacs-orgmode@gnu.org; Wed, 03 Sep 2008 10:39:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KatWV-0005QA-R7 for emacs-orgmode@gnu.org; Wed, 03 Sep 2008 10:39:57 -0400 Received: from [199.232.76.173] (port=48915 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KatWV-0005Pt-4z for emacs-orgmode@gnu.org; Wed, 03 Sep 2008 10:39:55 -0400 Received: from wf-out-1314.google.com ([209.85.200.169]:37361) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KatWV-0001B0-7H for emacs-orgmode@gnu.org; Wed, 03 Sep 2008 10:39:55 -0400 Received: by wf-out-1314.google.com with SMTP id 28so3819211wfc.24 for ; Wed, 03 Sep 2008 07:39:53 -0700 (PDT) In-Reply-To: <87k5dtfs3z.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Wed, 03 Sep 2008 12:20:32 +0200") 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: Tassilo Horn Cc: emacs-orgmode@gnu.org Instead of putting org into the source file, would it make sense to put the source code into an org file. Using MuMaMo-Mode http://www.emacswiki.org/cgi-bin/wiki/MuMaMo and delimiters like #+BEGIN_LISP #+END_LISP it would be possible to activate the appropriate source mode inside of the blocks, and it shouldn't be too hard to define an `org-export-to-source-code' function. -- Eric