Re: [O] Viewing animated gif as inline video

2019-04-13 Thread Marvin Doyley
Thanks Brian,

I will try this.
Thanks
M

> On Apr 13, 2019, at 4:13 PM, briangpowell  wrote:
> 
> https://github.com/Fuco1/org-inline-image 
> 
> 
> --on GitHub:
> 
> "This package adds functionality to inline images into an org-mode buffer. 
> The images can be present locally on the filesystem (not implemented yet) or 
> downloaded from the internet automatically."
> 
> "Use
> Call org-inline-image when the point is on the link to inline it there. The 
> link text will be overlayed with the image. To hide the image, hit h (or call 
> org-inline-image-hide) while the point is on the image. Gif images are 
> animated automatically when inlined. To animate it again, hit a (or call 
> org-inline-image-animate)."
> 
> 
> On Sat, Apr 13, 2019 at 3:52 PM briangpowell  > wrote:
> I have done it before in OrgMode
> 
> Its very compute intensive; and, more annoying than useful mostly--but I did 
> it many years ago, it would be interesting what percentage of computer 
> resources are now used
> 
> But for a very small amount of computer screen real estate you can put a very 
> long scrolling message, for example--which can be very useful if you are 
> trying to deliver an OrgMode buffer as some sort of kiosk interface to 
> yourself or other operators
> 
> I'll try to dig up how I did it
> 
> Just want you to know that it can be done in OrgMode--what version of Emacs, 
> etc. is required (and why), I'm not sure
> 
> On Sat, Apr 13, 2019 at 2:22 PM Marvin Doyley  > wrote:
> Hi there,
> 
> Does anybody know how to view an animated gif as an inline video? I can see 
> the first frame as an inline image, but I am unable to view the video.
> 
> Thanks
> M



Re: [O] Viewing animated gif as inline video

2019-04-13 Thread briangpowell
https://github.com/Fuco1/org-inline-image

--on GitHub:

"This package adds functionality to inline images into an org-mode buffer.
The images can be present locally on the filesystem (not implemented yet)
or downloaded from the internet automatically."

"Use

Call org-inline-image when the point is on the link to inline it there. The
link text will be overlayed with the image. To hide the image, hit h (or
call org-inline-image-hide) while the point is on the image. Gif images are
animated automatically when inlined. To animate it again, hit a (or call
org-inline-image-animate)."

On Sat, Apr 13, 2019 at 3:52 PM briangpowell 
wrote:

> I have done it before in OrgMode
>
> Its very compute intensive; and, more annoying than useful mostly--but I
> did it many years ago, it would be interesting what percentage of computer
> resources are now used
>
> But for a very small amount of computer screen real estate you can put a
> very long scrolling message, for example--which can be very useful if you
> are trying to deliver an OrgMode buffer as some sort of kiosk interface to
> yourself or other operators
>
> I'll try to dig up how I did it
>
> Just want you to know that it can be done in OrgMode--what version of
> Emacs, etc. is required (and why), I'm not sure
>
> On Sat, Apr 13, 2019 at 2:22 PM Marvin Doyley  wrote:
>
>> Hi there,
>>
>> Does anybody know how to view an animated gif as an inline video? I can
>> see the first frame as an inline image, but I am unable to view the video.
>>
>> Thanks
>> M
>>
>


Re: [O] Viewing animated gif as inline video

2019-04-13 Thread Marco Wahl
Hi Marvin,

> Does anybody know how to view an animated gif as an inline video? I
> can see the first frame as an inline image, but I am unable to view
> the video.

{ M-x customize-variable RET org-file-apps RET }

opens my customization of variable org-file-apps which has the entry:

Hide Org File Apps:
INS DEL Cons-cell:
Choice: Value Menu Extension: \.gif\'
Choice: Value Menu Function: (lambda (file link) (let ((my-image 
(create-image file)) (tmpbuf (get-buffer-create "*gif"))) (switch-to-buffer 
tmpbuf) (erase-buffer) (insert-image my-image) (image-animate my-image nil t)))

AFAICS with this setting a press of RET on a gif with animation in an
Org file opens an extra buffer that shows the animation.


HTH





Re: [O] Viewing animated gif as inline video

2019-04-13 Thread briangpowell
I have done it before in OrgMode

Its very compute intensive; and, more annoying than useful mostly--but I
did it many years ago, it would be interesting what percentage of computer
resources are now used

But for a very small amount of computer screen real estate you can put a
very long scrolling message, for example--which can be very useful if you
are trying to deliver an OrgMode buffer as some sort of kiosk interface to
yourself or other operators

I'll try to dig up how I did it

Just want you to know that it can be done in OrgMode--what version of
Emacs, etc. is required (and why), I'm not sure

On Sat, Apr 13, 2019 at 2:22 PM Marvin Doyley  wrote:

> Hi there,
>
> Does anybody know how to view an animated gif as an inline video? I can
> see the first frame as an inline image, but I am unable to view the video.
>
> Thanks
> M
>


[O] Viewing animated gif as inline video

2019-04-13 Thread Marvin Doyley
Hi there,

Does anybody know how to view an animated gif as an inline video? I can see the 
first frame as an inline image, but I am unable to view the video.

Thanks
M


Re: [O] Shrinking columns after formula recalculation

2019-04-13 Thread Nicolas Goaziou
Hello,

Nick Dokos  writes:

> I have a table with column width cookies. I shrink the columns with
> C-u C-c TAB and then I recalculate with C-c C-c on the #TBLFM
> line. The columns then get expanded and I have to do the C-u C-c TAB
> again after every recalculation. Is there a way to have the columns
> stay shrunk?
>
> Example: An unsolved problem in number theory: for what values of n
> is n! - 1 a prime?
>
> |  n | n! -1 | prime? |
> |+---+|
> |  / |  <10> ||
> | 30 | 26525285981219105863630847999 |  1 |
> | 31 |822283865417792281772556287999 |  0 |
> | 32 |  26313083693369353016721801215999 |  1 |
> | 33 | 868331761881188649551819440127999 |  1 |
> | 34 |   29523279903960414084761860964351999 |  0 |
> | 35 | 10333147966386144929513375231 |  0 |
>
> #+TBLFM: @3$2..@>$2 = fact($1) -1 :: @3$3..@>$3 = prime($2, 10)

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou