all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Cannot open attachments with gnus
Date: Tue, 17 Dec 2013 05:59:42 -0500	[thread overview]
Message-ID: <87zjnzlp41.fsf@flea.lifelogs.com> (raw)
In-Reply-To: m2zjo4zmc2.fsf@polytechnique.org

On Fri, 13 Dec 2013 18:34:37 +0100 Alan Schmitt <alan.schmitt@polytechnique.org> wrote: 

AS> Ted Zlatanov <tzz@lifelogs.com> writes:

>> Gnus is trying to run a command to view the attachments in a temporary
>> file.  After the command exits, the file is cleaned.  In your case the
>> command fails immediately, so the "open" command is not working.

AS> Well, the failing is that the pdf viewer tells me the file is not there.
AS> Is it because the following happens:

AS> - 'open foo.pdf' launches the pdf viewer with the file and returns
AS>   immediately;
AS> - as 'open' has returned, gnus clean up the file;
AS> - the pdf viewer complains that the file has disappeared?

I think so.  My system doesn't have `open' so I don't know if it has an
option to run synchronously, but you could either write a wrapper script
or set up the MIME handling to call the PDF viewer directly.

AS> If so, is there a way to tell gnus not to clean up after opening an
AS> attachment? (The /tmp files will eventually be deleted.)

I don't think there's built-in functionality for this, but it can
probably be written.

Ted


  reply	other threads:[~2013-12-17 10:59 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-13 13:02 Cannot open attachments with gnus Alan Schmitt
2013-12-13 14:13 ` Eli Zaretskii
2013-12-13 14:55 ` Ted Zlatanov
2013-12-13 17:34   ` Alan Schmitt
2013-12-17 10:59     ` Ted Zlatanov [this message]
2013-12-17 21:16       ` Alan Schmitt
2013-12-18  8:19       ` Alan Schmitt
2013-12-18 19:10         ` Ted Zlatanov
2013-12-18 20:39           ` Alan Schmitt
2013-12-18 21:51             ` Ted Zlatanov
2013-12-19 15:52               ` Ted Zlatanov
2013-12-20 11:20                 ` Alan Schmitt
     [not found] ` <mailman.9108.1386944000.10748.help-gnu-emacs@gnu.org>
2013-12-13 17:28   ` Alan Schmitt
2013-12-18  3:27 ` Jambunathan K
     [not found] ` <mailman.9546.1387337332.10748.help-gnu-emacs@gnu.org>
2013-12-18  8:00   ` Alan Schmitt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zjnzlp41.fsf@flea.lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.