Alan Schmitt alan.schm...@polytechnique.org writes:
Hi Eric,
On 2014-04-22 13:30, Eric Schulte schulte.e...@gmail.com writes:
Sorry, that's because the x should be z. See the following.
#+name: z
: bar
#+name: test3
#+begin_src emacs-lisp :var x=foo
x
#+end_src
#+RESULTS: test3
:
Hi Eric,
On 2014-04-20 03:41, Eric Schulte schulte.e...@gmail.com writes:
--8---cut here---start-8---
#+name: z
: bar
#+name: test3
#+begin_src emacs-lisp :var x=foo
x
#+end_src
#+name:test4
#+begin_src emacs-lisp :var y=test1(x=z)
y
#+end_src
Alan Schmitt alan.schm...@polytechnique.org writes:
Hi Eric,
On 2014-04-20 03:41, Eric Schulte schulte.e...@gmail.com writes:
--8---cut here---start-8---
#+name: z
: bar
#+name: test3
#+begin_src emacs-lisp :var x=foo
x
#+end_src
#+name:test4
Hi Eric,
On 2014-04-22 13:30, Eric Schulte schulte.e...@gmail.com writes:
Sorry, that's because the x should be z. See the following.
#+name: z
: bar
#+name: test3
#+begin_src emacs-lisp :var x=foo
x
#+end_src
#+RESULTS: test3
: foo
#+name:test4
#+begin_src emacs-lisp :var
Xebar Saram zelt...@gmail.com writes:
Hi guys
a related newbie question that occurred to me from reading this thread
(sorry for crashing the thread :)). if i understand correctly from the
above posts, is there a way to batch evaluate multiple org mode code blocks
at once?
My use case is
--8---cut here---start-8---
#+name: z
: bar
#+name: test3
#+begin_src emacs-lisp :var x=foo
x
#+end_src
#+name:test4
#+begin_src emacs-lisp :var y=test1(x=z)
y
#+end_src
#+results: test4
: bar
#+call: test4(z=BAZ)
^
The above
Hi Eric,
On 2014-04-17 07:42, Eric Schulte schulte.e...@gmail.com writes:
Alan Schmitt alan.schm...@polytechnique.org writes:
How can I execute block `test1' from block `test2' by passing an
argument that is one from test2?
#+name: z
: bar
#+name: test1
#+begin_src emacs-lisp :var
Hello Charles,
On 2014-04-16 22:49, Charles Berry ccbe...@ucsd.edu writes:
I have several babel blocks that each work well, but I'm now trying to
chain them to build some bigger functionality out of them. I'm having
trouble finding out how to pass arguments between blocks. Here is
a small
Alan Schmitt alan.schm...@polytechnique.org writes:
#+name:test2
#+begin_src emacs-lisp :var z=bar
(let ((y (org-sbe test1 (x (intern z)
y)
#+end_src
Thank you for the suggestion, but it returns a symbol and not the
string. In the more complex setting I'm playing with I need a
On 2014-04-17 12:24, Thorsten Jolitz tjol...@gmail.com writes:
Alan Schmitt alan.schm...@polytechnique.org writes:
#+name:test2
#+begin_src emacs-lisp :var z=bar
(let ((y (org-sbe test1 (x (intern z)
y)
#+end_src
Thank you for the suggestion, but it returns a symbol and not
Alan Schmitt alan.schm...@polytechnique.org writes:
Hello,
I have several babel blocks that each work well, but I'm now trying to
chain them to build some bigger functionality out of them. I'm having
trouble finding out how to pass arguments between blocks. Here is
a small example:
Hello,
I have several babel blocks that each work well, but I'm now trying to
chain them to build some bigger functionality out of them. I'm having
trouble finding out how to pass arguments between blocks. Here is
a small example:
--8---cut here---start-8---
Alan Schmitt alan.schmitt at polytechnique.org writes:
Hello,
I have several babel blocks that each work well, but I'm now trying to
chain them to build some bigger functionality out of them. I'm having
trouble finding out how to pass arguments between blocks. Here is
a small example:
13 matches
Mail list logo