From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Loris Bennett" Subject: Re: Avoiding recompilation of ditaa ASCII if unmodified between exports Date: Fri, 24 Apr 2015 11:28:46 +0200 Message-ID: <87pp6tg9ip.fsf@hornfels.zedat.fu-berlin.de> References: <874mo6nkjm.fsf@hornfels.zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlZuu-0001xj-8n for emacs-orgmode@gnu.org; Fri, 24 Apr 2015 05:29:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlZur-00005O-1a for emacs-orgmode@gnu.org; Fri, 24 Apr 2015 05:29:00 -0400 Received: from plane.gmane.org ([80.91.229.3]:47686) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlZuq-00005K-Ne for emacs-orgmode@gnu.org; Fri, 24 Apr 2015 05:28:56 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YlZuo-000893-4s for emacs-orgmode@gnu.org; Fri, 24 Apr 2015 11:28:54 +0200 Received: from hornfels.zedat.fu-berlin.de ([160.45.11.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Apr 2015 11:28:54 +0200 Received: from loris.bennett by hornfels.zedat.fu-berlin.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Apr 2015 11:28:54 +0200 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 Rob, Rob Stewart writes: > Hi Loris, > > On 24 April 2015 at 06:48, Loris Bennett wrote: > >> I think you want to look at caching: >> >> http://orgmode.org/manual/cache.html > > Thanks for the tip. Interestingly, caching doesn't seem to work for > ditaa blocks. E.g. > > #+BEGIN_SRC ditaa :file images/hello-world-round.png :cache yes > +--------------+ > | | > | Hello World! | > | | > +--------------+ > #+END_SRC > > Run the ditaa.jar file every time I export to HTML with `C-c C-e h h`. > > Does `:cache yes` only work for particular source languages? Caching with ditaa works for me with Emacs 24.4.1 and Org 8.2.10-37-gc000e8-elpaplus. What versions of Org/Emacs are you using? Cheers, Loris -- This signature is currently under construction.