emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] babel srcname? Calling Library of Babel code?


From: Thomas S . Dye
Subject: Re: [O] babel srcname? Calling Library of Babel code?
Date: Tue, 06 Oct 2015 09:00:40 -1000
User-agent: mu4e 0.9.12-1c98835; emacs 24.5.1

Aloha Lawrence,

Lawrence Bottorff <address@hidden> writes:

> Thanks for the info, T. Now, if I commit a file of source code blocks to be
> "library of babel," how do I then call them? Is there some sort of prefix?

You can name the file as you wish, and you can have as many libraries of
Babel as need be.

I have this code in .emacs to load one of my libraries of Babel:

  (org-babel-lob-ingest "~/org/td-lob.org")

After the library has been "ingested" then you can call the named source
code blocks it contains, just like you would if they were defined in
your working buffer.

hth,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]