Re: [O] How to call org-display-inline-images so that after a graphviz block is evaluated the image is refreshed?

2014-08-04 Thread Sebastien Vauban
Hello Bastien, Still far from keeping up with missed postings, because of holiday time... ;-) Bastien wrote: > Sebastien Vauban writes: >> Rick Frankel wrote: >>> (add-hook 'org-babel-after-execute-hook >>> (lambda () (org-display-inline-images nil t))) >> >> I simply had: >> >> (add-hook 'or

Re: [O] How to call org-display-inline-images so that after a graphviz block is evaluated the image is refreshed?

2014-07-28 Thread Bastien
Hi Sébastien, Sebastien Vauban writes: > Rick Frankel wrote: >> (add-hook 'org-babel-after-execute-hook >> (lambda () (org-display-inline-images nil t))) > > I simply had: > > (add-hook 'org-babel-after-execute-hook > 'org-display-inline-images) > > Anyway, for me, this shoul

Re: [O] How to call org-display-inline-images so that after a graphviz block is evaluated the image is refreshed?

2014-07-28 Thread Sebastien Vauban
Rick Frankel wrote: > (add-hook 'org-babel-after-execute-hook > (lambda () (org-display-inline-images nil t))) I simply had: --8<---cut here---start->8--- (add-hook 'org-babel-after-execute-hook 'org-display-inline-images) --8<---c

Re: [O] How to call org-display-inline-images so that after a graphviz block is evaluated the image is refreshed?

2014-07-14 Thread John Kitchin
That is a nice tip! -- --- John Kitchin Professor Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 http://kitchingroup.cheme.cmu.edu

Re: [O] How to call org-display-inline-images so that after a graphviz block is evaluated the image is refreshed?

2014-07-14 Thread Rick Frankel
On 2014-07-11 20:28, Ken Mankoff wrote: Try (org-redisplay-inline-images). Note "re". #+BEGIN_SRC :post (org-redisplay-inline-images) #+END_SRC #+RESULTS: I believe it is on WORG somewhere: #+BEGIN_SRC emacs-lisp (add-hook 'org-babel-after-execute-hook (lambda () (org-display-inline-images n

Re: [O] How to call org-display-inline-images so that after a graphviz block is evaluated the image is refreshed?

2014-07-12 Thread Grant Rettke
Perfect! Grant Rettke | ACM, ASA, FSF, IEEE, SIAM g...@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 On Fri, Jul 11, 2

Re: [O] How to call org-display-inline-images so that after a graphviz block is evaluated the image is refreshed?

2014-07-11 Thread Ken Mankoff
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. > > Comb

[O] How to call org-display-inline-images so that after a graphviz block is evaluated the image is refreshed?

2014-07-11 Thread Grant Rettke
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-im