emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: Jarmo Hurri <jarmo.hurri@syk.fi>
Cc: emacs-orgmode@gnu.org
Subject: Re: Call cache example no longer works
Date: Sat, 18 Jan 2014 13:39:52 -0700	[thread overview]
Message-ID: <874n516mzm.fsf@gmail.com> (raw)
In-Reply-To: 87ob39znpq.fsf@syk.fi

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 <jarmo.hurri@syk.fi> 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	other threads:[~2014-01-18 20:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-18  8:41 Call cache example no longer works Jarmo Hurri
2014-01-18 20:39 ` Eric Schulte [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874n516mzm.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jarmo.hurri@syk.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).