[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Babel: How to call code in one org file into another org file
From: |
John Kitchin |
Subject: |
Re: [O] Babel: How to call code in one org file into another org file |
Date: |
Fri, 30 Oct 2015 16:53:47 -0400 |
User-agent: |
mu4e 0.9.13; emacs 25.0.50.1 |
I don't think this is possible. You probably need some tangling and
loading to make it happen the way I understand it.
Lawrence Bottorff writes:
> There are many, many Babel examples, but I can't seem to find this
> functionality: A function in a Lisp code block in one org file is to be
> called from a Lisp code block in another org file. Is this possible? I know
> you can stick stuff into your personal "Library of Babel," but I just want
> to write a Lisp block that calls a function from another org file. I'll
> have SLIME running, of course.
>
>
> file1.org:
> ...
> #+begin_src lisp
> (defun foo ()
> (...))
> #+end_src
>
> is then called from. . .
>
> file2.org:
> ...
> #+begin_src lisp
> (defun baa ()
> (foo))
> #+end_src
>
>
> LB
--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu
- [O] Babel: How to call code in one org file into another org file, Lawrence Bottorff, 2015/10/30
- Re: [O] Babel: How to call code in one org file into another org file,
John Kitchin <=
- Re: [O] Babel: How to call code in one org file into another org file, Thomas S . Dye, 2015/10/30
- Re: [O] Babel: How to call code in one org file into another org file, Thomas S . Dye, 2015/10/30
- Re: [O] Babel: How to call code in one org file into another org file, Lawrence Bottorff, 2015/10/30
- Re: [O] Babel: How to call code in one org file into another org file, Nick Dokos, 2015/10/31
- Re: [O] Babel: How to call code in one org file into another org file, Lawrence Bottorff, 2015/10/31
- Re: [O] Babel: How to call code in one org file into another org file, Nick Dokos, 2015/10/31