From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tassilo Horn Subject: Re: Using orgstruct-mode to structure source code Date: Wed, 03 Sep 2008 17:39:29 +0200 Message-ID: <87tzcxdyry.fsf@thinkpad.tsdh.de> References: <87od35fx3a.fsf@thinkpad.tsdh.de> <87k5dtfs3z.fsf@thinkpad.tsdh.de> <87ej41s37q.fsf@gmail.com> 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 1KauU6-0000ge-NL for emacs-orgmode@gnu.org; Wed, 03 Sep 2008 11:41:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KauU4-0000fu-UK for emacs-orgmode@gnu.org; Wed, 03 Sep 2008 11:41:30 -0400 Received: from [199.232.76.173] (port=49977 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KauU4-0000fo-L6 for emacs-orgmode@gnu.org; Wed, 03 Sep 2008 11:41:28 -0400 Received: from deliver.uni-koblenz.de ([141.26.64.15]:25457) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KauU2-0005Et-N4 for emacs-orgmode@gnu.org; Wed, 03 Sep 2008 11:41:27 -0400 In-Reply-To: <87ej41s37q.fsf@gmail.com> (Eric Schulte's message of "Wed, 03 Sep 2008 07:39:53 -0700") 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: Eric Schulte Cc: emacs-orgmode@gnu.org "Eric Schulte" writes: Hi Eric, > 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. I wouldn't like that for at least two reasons. 1) Not all files I where I use headlines for structuring are private to me. Such a headline doesn't disturb anybody, but your suggestion works out only if everybody who needs to edit those files uses emacs and org. 2) All the links to files you get with `describe-function' and friends would point to generated files. If I want to change something, I'd have to find the corresponding org file first. Bye, Tassilo