On Mon, Jun 28, 2010 at 6:03 PM, Eric Schulte <schulte.eric@gmail.com> wrote:
Hi Rainer,

I'm happy this was useful

Rainer M Krug <r.m.krug@gmail.com> writes:

> On Fri, Jun 25, 2010 at 5:37 PM, Eric Schulte <schulte.eric@gmail.com>wrote:

[...]
>> >
>> > *** Start babel
>> > #+begin_src emacs-lisp
>> >   (org-babel-load-library-of-babel)
>> > #+end_src
>>
>> the above becomes
>>
>> #+begin_src emacs-lisp
>>  (org-babel-lob-ingest "~/path/to/org/contrib/babel/library-of-babel.org")
>> #+end_src
>>
>
> I don't seem to need this line anymore -  it is working without. Also, I
> don't remember why I put it in...
>

The `org-babel-lob-ingest' function is used to load the source-code
blocks defined in an Org-mode file into the global
`org-babel-library-of-babel' variable.  The functions defined in this
variable can be called from any Org-mode file.  This makes it possible
to build a set of often-used generally applicable source-code blocks.

The idea behind the library-of-babel.org file distributed with Org-mode
is to share such functions throughout the entire Org-mode community.

Thanks - now I understand it,

Rainer
 

Best -- Eric



--
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:           +27 - (0)83 9479 042
Fax:            +27 - (0)86 516 2782
Fax:            +49 - (0)321 2125 2244
email:          Rainer@krugs.de

Skype:          RMkrug
Google:         R.M.Krug@gmail.com