From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83738 Path: news.gmane.org!not-for-mail From: asjo@koldfront.dk (Adam =?utf-8?Q?Sj=C3=B8gren?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: MIME parts not saved Date: Wed, 14 Aug 2013 10:58:41 +0200 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <87siyck5ry.fsf@topper.koldfront.dk> References: <87wqo439c9.fsf@otago.ac.nz> <87txj4kdxs.fsf@otago.ac.nz> <87mwotshqt.fsf@uwo.ca> <8761vexxgv.fsf@uwo.ca> <87bo53uhji.fsf@uwo.ca> <87a9kmtjau.fsf@uwo.ca> <87txitswfn.fsf@topper.koldfront.dk> <87zjslnwr1.fsf@uwo.ca> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1376470744 380 80.91.229.3 (14 Aug 2013 08:59:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Aug 2013 08:59:04 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M31994=ding+2Daccount=gmane.org@lists.math.uh.edu Wed Aug 14 10:59:05 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V9Wv2-0000Y0-Lh for ding-account@gmane.org; Wed, 14 Aug 2013 10:59:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1V9Wv1-0004Bh-UF for ding-account@gmane.org; Wed, 14 Aug 2013 03:59:03 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1V9Wv1-0004Bc-2I for ding@lists.math.uh.edu; Wed, 14 Aug 2013 03:59:03 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1V9Wuq-0007Xe-9D for ding@lists.math.uh.edu; Wed, 14 Aug 2013 03:59:02 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1V9Wuo-0008Lr-VC for ding@gnus.org; Wed, 14 Aug 2013 10:58:51 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V9Wuo-0000NP-Rr for ding@gnus.org; Wed, 14 Aug 2013 10:58:50 +0200 Original-Received: from 2505ds5-by.0.fullrate.dk ([89.150.142.116]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Aug 2013 10:58:50 +0200 Original-Received: from asjo by 2505ds5-by.0.fullrate.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Aug 2013 10:58:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 44 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 2505ds5-by.0.fullrate.dk OpenPGP: id=21BDE416; url=http://asjo.koldfront.dk/gpg.asc Mail-Follow-Up-To: never X-Face: )qY&CseJ?.:=8F#^~GcSA?F=9eu'{KAFfL1C3/A&:nE?PW\i65"ba0NS)97,Q(^@xk}n4Ou rPuR#V8I(J_@~H($[ym:`K_+]*kjvW>xH5jbgLBVFGXY:(#4P>zVBklLbdL&XxL\M)%T}3S/IS9lMJ ^St'=VZBR Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83738 Archived-At: Katsumi Yamaoka writes: > For the present Gnus code, it starts the timer when Gnus detects > that the external viewer process exits. Ah, perfect - sorry for making noise without checking the facts. > However, if eog is launched by way of xdg-open and the like, Gnus > immediately detects that the process of xdg-open, not eog, does > exit, and starts the timer. Yeah, that's the annoying case. > In that case, Gnus doesn't know whether a viewer is still running, and > the viewing will fail, if it is eog, one minute after. But the > solution for this is obvious. That is to configure the mailcap so as > to use a viewer program directly, rather than to launch a viewer by > way of xdg-open. You could do that, but it would be so much nicer if interaction with those tools "just worked", as they are widespread as defaults (I think?)... Except for a longer time-out, I cannot see a better solution - now that "delete on quit" isn't acceptable, as per the emacs-devel mailing list. Maybe the time-out could default to 1 minute, but if you configure it to nil, then the temporary files will be kept until Emacs quits? Then people who use detaching viewers simply have to set a single variable, making an informed decision knowing what "problems" this causes in /tmp/, and everybody is sort of happy? I thought your solution with "delete on quit" was elegant, for what it's worth. Best regards, Adam -- "It's my chainsaw Adam Sjøgren Division is mine" asjo@koldfront.dk