Discussion:
Not killing viewer?!
Lars Ingebrigtsen
2018-04-10 22:05:49 UTC
Permalink
I receive an email with a Microsoft Word document attached. That is
annoying in itself, but I click it, and Libreoffice opens with the
document.
So far, so good.
Then I read the next email in Gnus.
And Libreoffice is killed. Gone. Window closed.
Which is kind of annoying as I wanted to look at another email at the
same time as looking at the Microsoft Word document.
Wasn't this fixed at some point? Do I just need to twiddle some
configuration?
Yes, I think this is covered by the `mm-keep-viewer-alive-types'
variable.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Gijs Hillenius
2018-04-11 06:45:06 UTC
Permalink
Post by Lars Ingebrigtsen
I receive an email with a Microsoft Word document attached. That is
annoying in itself, but I click it, and Libreoffice opens with the
document.
So far, so good.
Then I read the next email in Gnus.
And Libreoffice is killed. Gone. Window closed.
Which is kind of annoying as I wanted to look at another email at the
same time as looking at the Microsoft Word document.
Wasn't this fixed at some point? Do I just need to twiddle some
configuration?
Yes, I think this is covered by the `mm-keep-viewer-alive-types'
variable.
Ah!

I confirm that adding these three

"application/vnd.openxmlformats-officedocument.wordprocessingml.document"
"application/vnd.openxmlformats-officedocument.presentationml.presentation"
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"

indeed keeps these attachments open, whereas the default values
"application/msword" and "application/vnd.ms-excel" did not.
Lars Ingebrigtsen
2018-04-11 11:45:23 UTC
Permalink
Post by Gijs Hillenius
I confirm that adding these three
"application/vnd.openxmlformats-officedocument.wordprocessingml.document"
"application/vnd.openxmlformats-officedocument.presentationml.presentation"
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
Wow. Those are some Content-Types. :-)

Hm... that variable is a list of regexps. Perhaps we should put
"application/vnd.*" into the list? I think I'll do so...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Gijs Hillenius
2018-04-11 06:54:47 UTC
Permalink
Post by Gijs Hillenius
Post by Lars Ingebrigtsen
I receive an email with a Microsoft Word document attached. That is
annoying in itself, but I click it, and Libreoffice opens with the
document.
So far, so good.
Then I read the next email in Gnus.
And Libreoffice is killed. Gone. Window closed.
Which is kind of annoying as I wanted to look at another email at
the same time as looking at the Microsoft Word document.
Wasn't this fixed at some point? Do I just need to twiddle some
configuration?
Yes, I think this is covered by the `mm-keep-viewer-alive-types'
variable.
Ah!
I confirm that adding these three
"application/vnd.openxmlformats-officedocument.wordprocessingml.document"
"application/vnd.openxmlformats-officedocument.presentationml.presentation"
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
indeed keeps these attachments open, whereas the default values
"application/msword" and "application/vnd.ms-excel" did not.
And let's not forget these:

"application/vnd.oasis.opendocument.spreadsheet"
"application/vnd.oasis.opendocument.text"
"application/vnd.oasis.opendocument.presentation"
Loading...