From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarmo Hurri Subject: Call cache example no longer works Date: Sat, 18 Jan 2014 10:41:21 +0200 Message-ID: <87ob39znpq.fsf@syk.fi> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4RTO-0005Kd-40 for emacs-orgmode@gnu.org; Sat, 18 Jan 2014 03:41:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W4RTG-0006HF-Pj for emacs-orgmode@gnu.org; Sat, 18 Jan 2014 03:41:46 -0500 Received: from plane.gmane.org ([80.91.229.3]:41396) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4RTG-0006H4-Is for emacs-orgmode@gnu.org; Sat, 18 Jan 2014 03:41:38 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W4RTB-0007qR-Rh for emacs-orgmode@gnu.org; Sat, 18 Jan 2014 09:41:33 +0100 Received: from cs78160219.pp.htv.fi ([62.78.160.219]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Jan 2014 09:41:33 +0100 Received: from jarmo.hurri by cs78160219.pp.htv.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Jan 2014 09:41:33 +0100 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: emacs-orgmode@gnu.org 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