From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: [Babel] [Bug] Cache Date: Thu, 21 Nov 2013 12:13:12 +0100 Message-ID: <86fvqqc8jb.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org 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 <> 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 -- Sebastien Vauban