[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [Babel] [Bug] Cache
From: |
Eric Schulte |
Subject: |
Re: [O] [Babel] [Bug] Cache |
Date: |
Fri, 22 Nov 2013 08:03:16 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Hi Seb,
Could you git bisect this breakage to isolate the offending commit?
Thanks,
"Sebastien Vauban" <address@hidden> writes:
> Hello Eric,
>
> IIRC, some time ago, a bug involving the computation of the hash (when option
> cache is enabled) and NoWeb code blocks. I remember that it had been fixed.
>
> However, the following example shows it's not (true anymore):
>
> --8<---------------cut here---------------start------------->8---
> #+PROPERTY: cache yes
>
> #+name: common-code
> #+begin_src R :eval no
> s <- "Hello"
> #+end_src
>
> #+begin_src R :noweb yes
> <<common-code>>
>
> print(s)
> #+end_src
>
> #+results[f472c44e64e310a6d06544dbdfba558a709873a7]:
> : Hello
> --8<---------------cut here---------------end--------------->8---
>
> Change the "common code" block: edit "Hello", for example, and you'll see that
> the evaluation of the other code block is not redone (like if the NoWeb code
> was not expanded for computing the hash). It stays printing "Hello".
>
> Best regards,
> Seb
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D