From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Re: How to call org-display-inline-images so that after a graphviz block is evaluated the image is refreshed? Date: Fri, 11 Jul 2014 20:28:20 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52334) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5lCG-0007Yh-Og for emacs-orgmode@gnu.org; Fri, 11 Jul 2014 20:29:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5lCA-0005eK-Pj for emacs-orgmode@gnu.org; Fri, 11 Jul 2014 20:29:48 -0400 Received: from mail-qc0-x22d.google.com ([2607:f8b0:400d:c01::22d]:51790) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5lCA-0005du-Lg for emacs-orgmode@gnu.org; Fri, 11 Jul 2014 20:29:42 -0400 Received: by mail-qc0-f173.google.com with SMTP id c9so1646121qcz.4 for ; Fri, 11 Jul 2014 17:29:41 -0700 (PDT) In-reply-to: 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: Grant Rettke Cc: "emacs-orgmode@gnu.org" Try (org-redisplay-inline-images). Note "re". #+BEGIN_SRC :post (org-redisplay-inline-images) #+END_SRC #+RESULTS: -k. * On 2014-07-11 at 20:14, Grant Rettke wrote: > Hi, > > The ability to use graphviz in an org document is stellar and makes it > so much more productive to use org. > > Combined with inline image display, it is a powerhouse combo. > > After evaluating my source block, I would like to refresh the generated image. > > Thus far, I just call org-display-inline-image. > > What is the best way to automate it so that the images are always up to date? > > Kind regards, > > Grant Rettke | ACM, ASA, FSF, IEEE, SIAM > gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/ > “Wisdom begins in wonder.” --Socrates > ((λ (x) (x x)) (λ (x) (x x))) > “Life has become immeasurably better since I have been forced to stop > taking it seriously.” --Thompson