On Wed, Jan 11 2012, Sergio Durigan Junior wrote:

> I am seeing the same problem using Gnus.  

Without quoting, it is hard to guess what is "the same problem".

> Actually, not even PDF files are being opened here.  Apparently the
> same thing is happening here: Gnus is not copying the attachment
> file to /tmp/ before calling xdg-open.

I think the problem is that xdg-open exits immediately after opening
the file and Gnus then deletes the temp file.

You can test this e.g. with such a mailcap entry:

application/pdf; xdg-open '%s' && sleep 3; test=test "$DISPLAY" != ""; 
description=Portable Document Format; nametemplate=%s.pdf

> Is there anything that can be done?

A workaround is to use e.g. evince for PDFs.

(Note to Gnus developers: Maybe mm-decode.el should handle xdg-open
better, see `mm-postponed-undisplay-list´ etc).

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

_______________________________________________
info-gnus-english mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to