From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: How does Library of Babel actually work? Date: Sat, 31 Oct 2015 11:53:59 -0400 Message-ID: <87fv0r825k.fsf@pierrot.dokosmarshall.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsYU2-0008Dc-VZ for emacs-orgmode@gnu.org; Sat, 31 Oct 2015 11:54:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZsYTz-0004mS-Q9 for emacs-orgmode@gnu.org; Sat, 31 Oct 2015 11:54:22 -0400 Received: from plane.gmane.org ([80.91.229.3]:44612) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsYTz-0004mO-Jg for emacs-orgmode@gnu.org; Sat, 31 Oct 2015 11:54:19 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZsYTx-00049N-G7 for emacs-orgmode@gnu.org; Sat, 31 Oct 2015 16:54:17 +0100 Received: from pool-108-20-41-232.bstnma.fios.verizon.net ([108.20.41.232]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 31 Oct 2015 16:54:17 +0100 Received: from ndokos by pool-108-20-41-232.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 31 Oct 2015 16:54:17 +0100 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: emacs-orgmode@gnu.org Lawrence Bottorff writes: > New thread. Anyway, putting lisp/SLIME aside, I experimented with emacs lisp -- and got > the same results, i.e., no real LOB functionality, despite proper loading. I must be doing > something wrong? I'll describe my process again: > > Load a.org and b.org into `org-babel-library-of-babel` with `org-babel-lob-ingest`. Good. > Check -- and yes, both functions are in `org-babel-library-of-babel` and seem to be ready > and "live." But when I try to call them in c.org, org-mode has no knowledge of them. Then > I try #+call and #+lob on a b.org function. Still no knowledge of it. At this point I'm > not sure LOB works -- or I have a mistaken idea of what it is and what it does. > org-babel-lob-ingest adds files to the LOB (i.e. it's as if you had the code blocks in your file explicitly). But you still need to define the function, i.e. evaluate the code block. IOW, you need to call (org-sbe "func") in the buffer where you are going to use "func" I think. See my other post re. your lisp/slime attempts. -- Nick