From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dushyant Juneja Subject: Re: Issue with :cache yes Date: Wed, 26 Oct 2016 09:17:26 +0000 Message-ID: References: <1477467445.1573.2.camel@posteo.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c1913b6930388053fc11845 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzKL8-0008BZ-Qf for emacs-orgmode@gnu.org; Wed, 26 Oct 2016 05:17:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzKL3-0005mh-S1 for emacs-orgmode@gnu.org; Wed, 26 Oct 2016 05:17:42 -0400 Received: from mail-ua0-x235.google.com ([2607:f8b0:400c:c08::235]:37207) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bzKL3-0005mb-O1 for emacs-orgmode@gnu.org; Wed, 26 Oct 2016 05:17:37 -0400 Received: by mail-ua0-x235.google.com with SMTP id b35so2223056uaa.4 for ; Wed, 26 Oct 2016 02:17:37 -0700 (PDT) In-Reply-To: <1477467445.1573.2.camel@posteo.de> 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" To: "Ulrich J. Herter" , emacs-orgmode@gnu.org --94eb2c1913b6930388053fc11845 Content-Type: text/plain; charset=UTF-8 Thanks for the quick response, Uli! On Wed, Oct 26, 2016 at 1:09 PM Ulrich J. Herter 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 > > > --94eb2c1913b6930388053fc11845 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Thanks for the quick response, Uli!

On Wed, Oct 26, 2016= at 1:09 PM Ulrich J. Herter <ujh@poste= o.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=3D"newHeading" ) at th= is point?

I now get= the following error:
mapcar: Wrong type argument: listp, &q= uot;args=3D\"newHeading\""

In= fact, the error is now stubborn till I remove :cache yes. Where is it stor= ing the cache?
=C2=A0

>
> However, when I try to export it to ascii (C-c C-e t A), I get the
> following error:
>
> ######################################################=C2=A0=C2=A0
> org-babel-exp process sh at line 16...
> mapcar: Wrong type argument: listp, "args=3D\"newHeading\&qu= ot;"
> ######################################################=C2=A0=C2=A0
>
> 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<= br class=3D"gmail_msg"> > 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:=C2=A0Org-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 alread= y eval'ed or not in the buffer.

Dushyant
=C2=A0


HTH Uli


--94eb2c1913b6930388053fc11845--