[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] [babel] Bug? :cache yes ignored when :noweb yes
From: |
Andreas Leha |
Subject: |
Re: [Orgmode] [babel] Bug? :cache yes ignored when :noweb yes |
Date: |
Sat, 26 Feb 2011 11:50:51 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.16) Gecko/20101226 Iceowl/1.0b1 Icedove/3.0.11 |
Hi Eric,
thanks for testing this. It works for me when executing as well. But
not when exporting. Does that work for you?
I have tested this on two computers with the latest git version.
Cheers,
Andreas
Am 26.02.2011 01:29, schrieb Eric Schulte:
> 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 <address@hidden> 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
>> <<test_sleep>>
>> #+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.
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
andreas_leha.vcf
Description: Vcard
smime.p7s
Description: S/MIME Cryptographic Signature