Eric S Fraga writes:
> 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 r
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
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.
Otherwise (especially with the extra `org-babel-lob-ingest` in Local
Variable step I mentioned), what John Kitchin suggested with
`org-babel-load-file` is just a
Lawrence Bottorff writes:
> Yes, I experimented with this too -- and got it to work. But strangely, if
> you leave out the
>
> # eval: (org-babel-lob-ingest "./a.org")
> # eval: (org-babel-lob-ingest "./b.org")
>
> lines and do a regular `org-babel-lob-ingest` (or C-c C-v i) on those
> two fil
Yes, I experimented with this too -- and got it to work. But strangely, if
you leave out the
# eval: (org-babel-lob-ingest "./a.org")
# eval: (org-babel-lob-ingest "./b.org")
lines and do a regular `org-babel-lob-ingest` (or C-c C-v i) on those two
files -- *it doesn't work. *Rather bizarre beha
Lawrence Bottorff writes:
> I would use local variables for this--something like (untested):
>
> # eval: (org-babel-lob-ingest path/to/your/file)
> # eval: (sbe "my-add")
> # eval: (sbe "multi_x2")
>
> Computer savvy Org moders don't like eval because anything can happ
Hi Lawrence,
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 pers
>
>
> I would use local variables for this--something like (untested):
>
> # eval: (org-babel-lob-ingest path/to/your/file)
> # eval: (sbe "my-add")
> # eval: (sbe "multi_x2")
>
> Computer savvy Org moders don't like eval because anything can happen,
> but if you're willing to trust yourself, then
Aloha Lawrence,
Lawrence Bottorff writes:
> Doing M-x org-babel-lob-files called up a customization buffer that allowed
> me to put in many separate file paths. I did this for ../a.org and ../b.org.
>
> a.org:
>
> #+name: myadd
> #+begin_src lisp :session
> (defun myadd (x y)
> (+ x y))
> #+en
Org-mode version 8.3.2 (8.3.2-10-g00dacd-elpa @
../.emacs.d/elpa/org-20151005/)
Did you all see my post directly before? The whole LOB idea seems not to
work with Lisp/SLIME. . .
Odd. I found this I wrote before
http://kitchingroup.cheme.cmu.edu/blog/2014/06/24/Using-org-files-like-el-files/
What org version do you have?
On October 30, 2015, at 10:15 PM, Lawrence Bottorff wrote:
@John Kitchin: I can't seem to find a `org-babel-load-file`.
In my init file I have
(custom-set-variables
. . .
'(org-babel-lob-files
(quote
("/home/hercynian/org/babeltest/a.org" "/home/hercynian/org/babeltest/
b.org")))
that, of course, lasted an Emacs reboot after I had set them with
customization. But then right after Emacs reboot, looking
@John Kitchin: I can't seem to find a `org-babel-load-file`.
Doing M-x org-babel-lob-files called up a customization buffer that allowed
me to put in many separate file paths. I did this for ../a.org and ../b.org.
a.org:
#+name: myadd
#+begin_src lisp :session
(defun myadd (x y)
(+ x y))
#+end_src
b.org:
#+name: multi_x2
#+begin_src lisp :session
(defu
Could create a named pipe and have one org-mode file write to it and
another org-mode file read from it.
On Fri, Oct 30, 2015 at 4:55 PM, Thomas S. Dye wrote:
> Aloha Lawrence,
>
> Lawrence Bottorff writes:
>
> > There are many, many Babel examples, but I can't seem to find this
> > functionali
Aloha Lawrence,
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 p
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
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
18 matches
Mail list logo