[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnus opening attachments
From: |
Reiner Steib |
Subject: |
Re: gnus opening attachments |
Date: |
Wed, 11 Jan 2012 10:26:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
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/