From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Babel: How to call code in one org file into another org file Date: Mon, 2 Nov 2015 07:09:53 +0000 Message-ID: <87fv0ozxku.fsf@delle7240.chemeng.ucl.ac.uk> References: <87oaff82pv.fsf@pierrot.dokosmarshall.org> <87bnbf80ar.fsf@pierrot.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zt9uV-0005xz-J3 for emacs-orgmode@gnu.org; Mon, 02 Nov 2015 02:52:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zt9uQ-0002y5-KD for emacs-orgmode@gnu.org; Mon, 02 Nov 2015 02:52:11 -0500 Received: from mail-am1on0137.outbound.protection.outlook.com ([157.56.112.137]:24862 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zt9uQ-0002ws-C2 for emacs-orgmode@gnu.org; Mon, 02 Nov 2015 02:52:06 -0500 In-Reply-To: (Lawrence Bottorff's message of "Sat, 31 Oct 2015 16:51:07 +0000") 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: Lawrence Bottorff Cc: Nick Dokos , emacs-orgmode Mailinglist On Saturday, 31 Oct 2015 at 16:51, Lawrence Bottorff wrote: > I guess I'm saying that the whole `org-babel-lob-ingest` into > `org-babel-library-of-babel` exercise should make code ready and available. But it does. There are two levels here: the babel codes and the results of the codes. If your babel codes are emacs which define functions, these latter functions are not available until the babel codes are executed. However, the babel codes are now there and ready to be executed by name. I would not want ingest to execute the codes for two reasons: many of the codes do not make sense without special arguments and there may be many such codes. -- : Eric S Fraga (0xFFFCF67D), Emacs 24.5.1, Org release_8.3.2-215-gb4af3f