From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stig Brautaset Subject: trying to automatically refresh inline images after org-babel-execute:ditaa Date: Tue, 11 Oct 2016 18:01:10 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60295) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bu0Ra-0007S6-9E for emacs-orgmode@gnu.org; Tue, 11 Oct 2016 13:02:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bu0RX-00026c-2p for emacs-orgmode@gnu.org; Tue, 11 Oct 2016 13:02:22 -0400 Received: from [195.159.176.226] (port=34999 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bu0RW-00025F-SI for emacs-orgmode@gnu.org; Tue, 11 Oct 2016 13:02:19 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bu0Qv-0007PE-IH for emacs-orgmode@gnu.org; Tue, 11 Oct 2016 19:01:41 +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" To: emacs-orgmode@gnu.org Hello! I'm trying to automatically update inline ditaa images, by adding this advice: ,---- | (advice-add 'org-babel-execute:ditaa | :after | (lambda (a &rest b) | (message "my sage advice") | (org-redisplay-inline-images))) `---- When hitting =C-c C-c= in a =#+begin_src ditaa= block I *do* get my sage advice printed to *Messages*, but inline images just blinks out of existence. Is the image overlay removed at a higher level? Any advice (hah!) welcome. Stig -- : Stig Brautaset, GNU Emacs 25.1.1, Org-mode version 8.3.6