emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Call cache example no longer works


From: Eric Schulte
Subject: Re: [O] Call cache example no longer works
Date: Sat, 18 Jan 2014 13:39:52 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Thanks for reporting this issue, I've just pushed up a fix.  Please let
me know if you have any further problems.

Best,

Jarmo Hurri <address@hidden> writes:

> Greetings.
>
> While trying to cache the results of a #+call, I found the following
> example posted to this newsgroup in August 2012:
>
> # ------------------------------------------------------------------
> #+name: foo
> #+begin_src emacs-lisp :var bar="baz"
>   (sit-for 5)
>   (message "bar=%S" bar)
> #+end_src
>
> #+RESULTS: foo
> : bar="baz"
>
> This does not return immediately, because the block must execute.
> #+call: foo("quxxx")
>
> #+RESULTS:
> : bar="quxxx"
>
> This returns immediately thanks to the cached result.
> #+call: foo("qux") :cache yes
> # ------------------------------------------------------------------
>
> However, the last, cached call gives me an error with the latest
> org-mode pulled and built 10 minutes ago:
>
> mapconcat: Wrong type argument: listp, "results=foo(\"qux\")"
>
> Unfortunately, due to tight work deadline, I have no time to start
> debugging this but need to pass this on to you experts.
>
> All the best,
>
> Jarmo
>
>

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



reply via email to

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