From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Call cache example no longer works Date: Sat, 18 Jan 2014 13:39:52 -0700 Message-ID: <874n516mzm.fsf@gmail.com> References: <87ob39znpq.fsf@syk.fi> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4ckS-0005E8-JS for emacs-orgmode@gnu.org; Sat, 18 Jan 2014 15:44:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W4ckN-0003LP-1I for emacs-orgmode@gnu.org; Sat, 18 Jan 2014 15:44:08 -0500 Received: from mail-pb0-x233.google.com ([2607:f8b0:400e:c01::233]:65210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4ckM-0003LD-QK for emacs-orgmode@gnu.org; Sat, 18 Jan 2014 15:44:02 -0500 Received: by mail-pb0-f51.google.com with SMTP id un15so1784972pbc.38 for ; Sat, 18 Jan 2014 12:44:01 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jarmo Hurri Cc: emacs-orgmode@gnu.org 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 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