Re: [O] real-time image rendering

2014-10-06 Thread Doyley, Marvin M.
I agree controlling the refresh rate make your approach better.
Thanks,
M
> Why better?  For which reason?

> Why not this:

> --8<---cut here---start->8---
> (add-hook 'org-babel-after-execute-hook
> (lambda ()
> (org-display-inline-images nil t)))
> ; more efficient with refresh == t
--8<---cut here---end--->8---

?

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] real-time image rendering

2014-10-05 Thread Sebastien Vauban
"Doyley, Marvin M." wrote:
> This works better
>  (add-hook 'org-babel-after-execute-hook
>'org-display-inline-images)

Why better?  For which reason?

Why not this:

--8<---cut here---start->8---
  (add-hook 'org-babel-after-execute-hook
(lambda ()
  (org-display-inline-images nil t)))
  ; more efficient with refresh == t
--8<---cut here---end--->8---

?

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] real-time image rendering

2014-10-03 Thread Doyley, Marvin M.
This works better
 (add-hook 'org-babel-after-execute-hook
  'org-display-inline-images)

https://www.mail-archive.com/emacs-orgmode@gnu.org/msg88358.html
thanks
m
On Oct 3, 2014, at 7:29 PM, Grant Rettke  wrote:

> Sorry for not discussing further:
> 
> https://urldefense.proofpoint.com/v1/url?u=https://stackoverflow.com/questions/17621495/emacs-org-display-inline-images&k=p4Ly7qpEBiYPBVenR9G2iQ%3D%3D%0A&r=Fwb4ac3v7AhcQoTcqa9wemihF49yp0vUvrJ%2BiX5Re4w%3D%0A&m=Z1cxylKq%2BcxQlQYWByza7usVlHiUrctSCJZH%2BrYsd2c%3D%0A&s=be48c9d91e056d8bd6c1d1087998c148178cd7448476c9cc4260be57508f602b
> 
> On Fri, Oct 3, 2014 at 5:12 PM, Doyley, Marvin M.
>  wrote:
>> Dear All,
>> 
>> I am currently using Org mode as a teaching tool for a course that I am 
>> teaching this semester. I would like to run some python simulations in class 
>> and save the results to a file. I would like to show the results in real 
>> time as I change various parameters.  I am using iimage-mode to display 
>> images. The only snag is that I have to toggle iimage-mode on and off to see 
>> the changes. Is there away to get iimage-mode to render in real time
>> 
>> thanks
>> M
>> 
>> Sent from my iPad
> 
> 
> 
> -- 
> Grant Rettke
> g...@wisdomandwonder.com | 
> https://urldefense.proofpoint.com/v1/url?u=http://www.wisdomandwonder.com/&k=p4Ly7qpEBiYPBVenR9G2iQ%3D%3D%0A&r=Fwb4ac3v7AhcQoTcqa9wemihF49yp0vUvrJ%2BiX5Re4w%3D%0A&m=Z1cxylKq%2BcxQlQYWByza7usVlHiUrctSCJZH%2BrYsd2c%3D%0A&s=2ffec8f094fdc2745d8be47418e74b09f151f07ccb55412fafda2a0d19534ac5
> “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



Re: [O] real-time image rendering

2014-10-03 Thread Doyley, Marvin M.
Thanks
Cheers,
M

Sent from my iPad

> On Oct 3, 2014, at 7:29 PM, Grant Rettke  wrote:
> 
> Sorry for not discussing further:
> 
> https://urldefense.proofpoint.com/v1/url?u=https://stackoverflow.com/questions/17621495/emacs-org-display-inline-images&k=p4Ly7qpEBiYPBVenR9G2iQ%3D%3D%0A&r=Fwb4ac3v7AhcQoTcqa9wemihF49yp0vUvrJ%2BiX5Re4w%3D%0A&m=Z1cxylKq%2BcxQlQYWByza7usVlHiUrctSCJZH%2BrYsd2c%3D%0A&s=be48c9d91e056d8bd6c1d1087998c148178cd7448476c9cc4260be57508f602b
> 
> On Fri, Oct 3, 2014 at 5:12 PM, Doyley, Marvin M.
>  wrote:
>> Dear All,
>> 
>> I am currently using Org mode as a teaching tool for a course that I am 
>> teaching this semester. I would like to run some python simulations in class 
>> and save the results to a file. I would like to show the results in real 
>> time as I change various parameters.  I am using iimage-mode to display 
>> images. The only snag is that I have to toggle iimage-mode on and off to see 
>> the changes. Is there away to get iimage-mode to render in real time
>> 
>> thanks
>> M
>> 
>> Sent from my iPad
> 
> 
> 
> -- 
> Grant Rettke
> g...@wisdomandwonder.com | 
> https://urldefense.proofpoint.com/v1/url?u=http://www.wisdomandwonder.com/&k=p4Ly7qpEBiYPBVenR9G2iQ%3D%3D%0A&r=Fwb4ac3v7AhcQoTcqa9wemihF49yp0vUvrJ%2BiX5Re4w%3D%0A&m=Z1cxylKq%2BcxQlQYWByza7usVlHiUrctSCJZH%2BrYsd2c%3D%0A&s=2ffec8f094fdc2745d8be47418e74b09f151f07ccb55412fafda2a0d19534ac5
> “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



Re: [O] real-time image rendering

2014-10-03 Thread Grant Rettke
Sorry for not discussing further:

https://stackoverflow.com/questions/17621495/emacs-org-display-inline-images

On Fri, Oct 3, 2014 at 5:12 PM, Doyley, Marvin M.
 wrote:
> Dear All,
>
> I am currently using Org mode as a teaching tool for a course that I am 
> teaching this semester. I would like to run some python simulations in class 
> and save the results to a file. I would like to show the results in real time 
> as I change various parameters.  I am using iimage-mode to display images. 
> The only snag is that I have to toggle iimage-mode on and off to see the 
> changes. Is there away to get iimage-mode to render in real time
>
> thanks
> M
>
> Sent from my iPad



-- 
Grant Rettke
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



[O] real-time image rendering

2014-10-03 Thread Doyley, Marvin M.
Dear All,

I am currently using Org mode as a teaching tool for a course that I am 
teaching this semester. I would like to run some python simulations in class 
and save the results to a file. I would like to show the results in real time 
as I change various parameters.  I am using iimage-mode to display images. The 
only snag is that I have to toggle iimage-mode on and off to see the changes. 
Is there away to get iimage-mode to render in real time

thanks
M

Sent from my iPad