From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: [babel] Bug? :cache yes ignored when :noweb yes Date: Fri, 25 Feb 2011 17:29:35 -0700 Message-ID: <87sjvbfweh.fsf@gmail.com> References: <4D669E72.6000302@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=60325 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pt8Qd-0000EG-Tu for emacs-orgmode@gnu.org; Fri, 25 Feb 2011 19:54:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pt8Qc-0006L6-QN for emacs-orgmode@gnu.org; Fri, 25 Feb 2011 19:54:35 -0500 Received: from mail-vx0-f169.google.com ([209.85.220.169]:42227) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pt8Qc-0006Ku-NT for emacs-orgmode@gnu.org; Fri, 25 Feb 2011 19:54:34 -0500 Received: by vxc38 with SMTP id 38so2402525vxc.0 for ; Fri, 25 Feb 2011 16:54:34 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andreas Leha Cc: emacs-orgmode@gnu.org Hi Andreas, This exact example worked for me -- that is the results were returned without executing the "sleep 5" code. Maybe you are using an old version of Org, or you have non-standard default header argument values? Best -- Eric Andreas Leha writes: > Hi all, > > When ':noweb yes' is in the header, ':cache yes' is ignored during > export. (At least when I export the sample file below.) > > To me this seems to be a bug. Or am I missing something? > > Regards, > Andreas > > PS: Example: > ==================== > * Test > #+srcname: test_sleep > #+begin_src R :session :exports code > Sys.sleep(time=5) > 1:10 > #+end_src > > #+srcname: test_sleep > #+begin_src R :session :exports results :noweb yes :cache yes > <> > #+end_src > > #+results[e2c9e6c2f84563b590a765502057d92463e50182]: test_sleep > | 1 | > | 2 | > | 3 | > | 4 | > | 5 | > | 6 | > | 7 | > | 8 | > | 9 | > | 10 | > ============================== > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode