From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Stewart Subject: Re: Avoiding recompilation of ditaa ASCII if unmodified between exports Date: Fri, 24 Apr 2015 09:46:18 +0100 Message-ID: References: <874mo6nkjm.fsf@hornfels.zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlZFw-0002IB-Om for emacs-orgmode@gnu.org; Fri, 24 Apr 2015 04:46:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlZFv-0000W5-Eu for emacs-orgmode@gnu.org; Fri, 24 Apr 2015 04:46:40 -0400 Received: from mail-lb0-x231.google.com ([2a00:1450:4010:c04::231]:36198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlZFv-0000W1-6n for emacs-orgmode@gnu.org; Fri, 24 Apr 2015 04:46:39 -0400 Received: by lbbqq2 with SMTP id qq2so31389719lbb.3 for ; Fri, 24 Apr 2015 01:46:38 -0700 (PDT) In-Reply-To: <874mo6nkjm.fsf@hornfels.zedat.fu-berlin.de> 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: Loris Bennett , emacs-orgmode@gnu.org 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. --8<---------------cut here---------------start------------->8--- #+BEGIN_SRC ditaa :file images/hello-world-round.png :cache yes +--------------+ | | | Hello World! | | | +--------------+ #+END_SRC --8<---------------cut here---------------end--------------->8--- 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? -- Rob