emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Eric Schulte
Subject: Re: [O] [BUG] call results not creating #results
Date: Wed, 13 Nov 2013 16:34:18 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Fixed, thanks for reporting.

Rick Frankel <address@hidden> writes:

> 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

-- 
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D



reply via email to

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