From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Schmitt Newsgroups: gmane.emacs.help Subject: Re: Cannot open attachments with gnus Date: Wed, 18 Dec 2013 09:19:09 +0100 Organization: IRISA, INRIA Rennes (FR) Message-ID: References: <87vbysol5y.fsf@flea.lifelogs.com> <87zjnzlp41.fsf@flea.lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1387356019 16922 80.91.229.3 (18 Dec 2013 08:40:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Dec 2013 08:40:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 18 09:40:26 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 1VtCg5-0006Kk-H2 for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Dec 2013 09:40:25 +0100 Original-Received: from localhost ([::1]:37486 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtCg5-0006tb-4t for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Dec 2013 03:40:25 -0500 Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: top-wifi.irisa.fr Original-X-Trace: news-v3.irisa.fr 1387354748 15622 131.254.66.192 (18 Dec 2013 08:19:08 GMT) Original-X-Complaints-To: abuse@irisa.fr Original-NNTP-Posting-Date: Wed, 18 Dec 2013 08:19:08 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:/wYO8QPYyeC+CbFdj24u19nszP8= Original-Path: usenet.stanford.edu!goblin2!goblin.stu.neva.ru!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!proxad.net!feeder1-2.proxad.net!feed.ac-versailles.fr!news.ecp.fr!news-rocq.inria.fr!news.irisa.fr!.POSTED!not-for-mail Original-Xref: usenet.stanford.edu gnu.emacs.help:202808 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:95077 Archived-At: Hi again, Ted Zlatanov writes: > 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. I managed to make "open" open files synchronously (tip 1: use the "-W" flag, tip 2: restarting gnus is not sufficient for the updated .mailcap to be taken into account, I had restart emacs). It works, but I'm a bit worried about performance. As I'm using long running applications, I have a bunch of processes "open ..." that keep running (and will keep running until I quit the app). Even worse, if I understand the code correctly, each time I open an attachment from gnus, there will be an emacs process waiting for the application to quit (even though the window showing the document has long been closed). Are they light enough that I should not worry about having dozens of them around? Thanks, Alan