emacs-orgmode
[Top][All Lists]
Advanced

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

[O] [BUG] call results not creating #results


From: Rick Frankel
Subject: [O] [BUG] call results not creating #results
Date: Wed, 13 Nov 2013 14:06:29 -0500
User-agent: Roundcube Webmail/0.9.0

Eric-

Since you're looking at call lines :)...

there is a (fairly new i think) bug:

When searching forward for results, following call lines are not
being respected as stop points. For instance, given:

#+BEGIN_SRC org
,* Call block test
,#+name: call-me
,#+BEGIN_SRC emacs-lisp :var v="one"
v
,#+END_SRC

,#+RESULTS: call-me
: one

,#+call: call-me(v="two")

,#+RESULTS:
: two
#+END_SRC

If i insert a new call-block before "two" and execute it, the following occurs

#+BEGIN_SRC org
,* Call block test
,#+name: call-me
,#+BEGIN_SRC emacs-lisp :var v="one"
v
,#+END_SRC

,#+RESULTS: call-me
: one

,#+call: call-me(v="three")

,#+call: call-me(v="two")

,#+RESULTS:
: three
#+END_SRC

as you can see, it replaced the results for call-line two.

Note that if i had named "two" and executed it before adding in call line "three", the results would be
ok:

#+BEGIN_SRC org
,* Call block test
,#+name: call-me
,#+BEGIN_SRC emacs-lisp :var v="one"
v
,#+END_SRC

,#+RESULTS: call-me
: one

,#+call: call-me(v="three")

,#+RESULTS:
: three

,#+name: two
,#+call: call-me(v="two")

,#+RESULTS: two
: two
#+END_SRC

rick



reply via email to

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