From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.help Subject: Re: Cannot open attachments with gnus Date: Tue, 17 Dec 2013 05:59:42 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87zjnzlp41.fsf@flea.lifelogs.com> References: <87vbysol5y.fsf@flea.lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1387278012 30537 80.91.229.3 (17 Dec 2013 11:00:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Dec 2013 11:00:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 17 12:00:19 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VssNu-0006yd-SQ for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Dec 2013 12:00:18 +0100 Original-Received: from localhost ([::1]:60710 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VssNu-0003Vp-5s for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Dec 2013 06:00:18 -0500 Original-Path: usenet.stanford.edu!newsfeed.news.ucla.edu!news.snarked.org!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-X-Trace: news.albasani.net Vly77IAemnp7+AWjCuPav39wV2wx8GxEF7L3q2pjWsdDIoGbhA3V1KDtmbBICOc0t6mIekgVhJOVKKMQHe59fg== Original-NNTP-Posting-Date: Tue, 17 Dec 2013 10:58:24 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="z6EjzFWokwoLTC/KHj92paDARIG4tgvpkE2TPWFxa6D4uWxiwxseaXgdkEjHHsTZZB4CNH8wLUjmwpG7gS1PH5xdo7UINmmK8UlkBTztzIyTIWD+GRzOD+hhIp51ihWW"; mail-complaints-to="abuse@albasani.net" User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Cancel-Lock: sha1:dawLejKfmOJY0M906o4sxo5X1oc= sha1:mAPro4GTDm4aBV5+tNvP2X25SLA= Original-Xref: usenet.stanford.edu gnu.emacs.help:202777 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95046 Archived-At: On Fri, 13 Dec 2013 18:34:37 +0100 Alan Schmitt wrote: AS> Ted Zlatanov 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