emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dushyant Juneja <juneja.dushyant@gmail.com>
To: "Ulrich J. Herter" <ujh@posteo.de>, emacs-orgmode@gnu.org
Subject: Re: Issue with :cache yes
Date: Wed, 26 Oct 2016 09:17:26 +0000	[thread overview]
Message-ID: <CAJkb0UO8-1X+1wgr=DLjQDjqgTQp6ce1fRctBVyH_ur+pVoT_g@mail.gmail.com> (raw)
In-Reply-To: <1477467445.1573.2.camel@posteo.de>

[-- Attachment #1: Type: text/plain, Size: 1570 bytes --]

Thanks for the quick response, Uli!

On Wed, Oct 26, 2016 at 1:09 PM Ulrich J. Herter <ujh@posteo.de> wrote:

> Hi,
>
> Am Mittwoch, den 26.10.2016, 05:49 +0000 schrieb Dushyant Juneja:
> > * New Heading
> > #+call: execBlk1( "newHeading" ) :cache yes
>
> Shouldn't it be #+call: execBlk1( args="newHeading" ) at this point?
>

I now get the following error:
mapcar: Wrong type argument: listp, "args=\"newHeading\""

In fact, the error is now stubborn till I remove :cache yes. Where is it
storing the cache?


>
> >
> > However, when I try to export it to ascii (C-c C-e t A), I get the
> > following error:
> >
> > ######################################################
> > org-babel-exp process sh at line 16...
> > mapcar: Wrong type argument: listp, "args=\"newHeading\""
> > ######################################################
> >
> > Is there something wrong in my use-model? I am basically trying to
> > avoid re-evaluating code blocks during export, if I already have them
> > evaluated in my buffer.
>
> I cannot reproduce your issue on org release_8.3.6-1246-g359afa.dirty.
> May be you can try running M-x org-babel-execute-buffer before export
> to make sure all results are up-to-date.
>

My org mode version: Org-mode version 8.3.6 (8.3.6-7-g4d7d52-elpaplus @
/.../.emacs.d/elpa/org-plus-contrib-20161024/)

I see that this is the latest as per my recent package list fetch.

Any ideas?

Further, now I see that this gets evaluated even while export, irrespective
of whether it is already eval'ed or not in the buffer.

Dushyant


>
>
> HTH Uli
>
>
>

[-- Attachment #2: Type: text/html, Size: 3205 bytes --]

      reply	other threads:[~2016-10-26  9:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-26  5:49 Issue with :cache yes Dushyant Juneja
2016-10-26  7:37 ` Ulrich J. Herter
2016-10-26  9:17   ` Dushyant Juneja [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='CAJkb0UO8-1X+1wgr=DLjQDjqgTQp6ce1fRctBVyH_ur+pVoT_g@mail.gmail.com' \
    --to=juneja.dushyant@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ujh@posteo.de \
    /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).