From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Riley Subject: org-babel and emacs init Date: Mon, 25 Jan 2010 09:43:32 +0100 Message-ID: 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 1NZKbE-0006Dw-7W for emacs-orgmode@gnu.org; Mon, 25 Jan 2010 03:47:08 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NZKbA-00067t-3M for emacs-orgmode@gnu.org; Mon, 25 Jan 2010 03:47:07 -0500 Received: from [199.232.76.173] (port=53234 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NZKb9-00067U-Lm for emacs-orgmode@gnu.org; Mon, 25 Jan 2010 03:47:03 -0500 Received: from mx20.gnu.org ([199.232.41.8]:47714) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NZKb8-0007yd-Uj for emacs-orgmode@gnu.org; Mon, 25 Jan 2010 03:47:03 -0500 Received: from lo.gmane.org ([80.91.229.12]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NZKb7-00032P-QW for emacs-orgmode@gnu.org; Mon, 25 Jan 2010 03:47:02 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NZKa6-0000Vs-75 for emacs-orgmode@gnu.org; Mon, 25 Jan 2010 09:45:58 +0100 Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Jan 2010 09:45:58 +0100 Received: from rileyrgdev by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Jan 2010 09:45:58 +0100 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: emacs-orgmode@gnu.org What approach have you taken to loading multiple files using the org-babel method? The example on the babel page searches out all org files and then untangles the elisp snippets and rewrites files with a .el extensions loading them as it goes. But how to order this or how best to load /decode/execute at run time in say an autoload or eval after load? Simply call org-babel-load-file instead of require? e.g say I wanted to keep my (typically large) .gnus.el file as an org file. How best to deal with that? Currently I have an eval after load with all the code in that used to be in my .gnus.el in my emacs-init.org. Other approaches? Would there be a way to get the load system to check for an org file first and call org-babel-load-file? Should possibly writing the org file auto create the .el file? Or is that best left to load time? Any opinions or discussions/pointers appreciated. regards, r.