From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: problems with export and :cache Date: Fri, 30 Oct 2015 23:40:13 +0000 Message-ID: References: <87vb9pyf0l.fsf@gmail.com> <871tcdpxeq.fsf@nicolasgoaziou.fr> <87io5pyaeo.fsf@gmail.com> <874mh9xzg7.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsJHV-0001sE-1x for emacs-orgmode@gnu.org; Fri, 30 Oct 2015 19:40:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZsJHR-0006R5-SN for emacs-orgmode@gnu.org; Fri, 30 Oct 2015 19:40:24 -0400 Received: from plane.gmane.org ([80.91.229.3]:50052) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsJHR-0006Qw-Lh for emacs-orgmode@gnu.org; Fri, 30 Oct 2015 19:40:21 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZsJHK-0005UH-5r for emacs-orgmode@gnu.org; Sat, 31 Oct 2015 00:40:14 +0100 Received: from cpc33-cmbg15-2-0-cust4.5-4.cable.virginm.net ([81.102.136.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 31 Oct 2015 00:40:14 +0100 Received: from andreas.leha by cpc33-cmbg15-2-0-cust4.5-4.cable.virginm.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 31 Oct 2015 00:40:14 +0100 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi all, As a follow-up. The caching produces un-expected results for call lines 'in the other direction' as well: Changes in the arguments to the called code block do not invalidate the cache. --8<---------------cut here---------------start------------->8--- * Test Cached Export ** A long running code block. #+name: foo #+begin_src emacs-lisp :var bar="baz" (sit-for 15) (message "bar=%S" bar) #+end_src ** Cached Calls Execute these calls one after the other. #+name: cached_call #+call: foo("qux") :cache yes #+results[f2b650eb5296f72a1f7237c2a65b7fb3443acf5f]: cached_call : bar="qux" #+name: cached_call #+call: foo("qux") :cache yes #+name: cached_call #+call: foo("quxxxxxxx") :cache yes For me, the last one does not call foo, but I expect it to do so. --8<---------------cut here---------------end--------------->8--- Regards, Andreas PS: I have not updated org yet.