From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83666 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: MIME parts not saved Date: Tue, 06 Aug 2013 00:16:54 +0900 Message-ID: References: <87wqo439c9.fsf@otago.ac.nz> <87txj4kdxs.fsf@otago.ac.nz> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1375715899 20712 80.91.229.3 (5 Aug 2013 15:18:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Aug 2013 15:18:19 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M31922@lists.math.uh.edu Mon Aug 05 17:18:19 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 1V6MY4-000507-Ah for ding-account@gmane.org; Mon, 05 Aug 2013 17:18:16 +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 1V6MX8-0002U8-Ln; Mon, 05 Aug 2013 10:17:18 -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 1V6MX6-0002Tu-SB for ding@lists.math.uh.edu; Mon, 05 Aug 2013 10:17:16 -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 1V6MX4-0004F8-S7 for ding@lists.math.uh.edu; Mon, 05 Aug 2013 10:17:16 -0500 Original-Received: from mail-halifax.hostforweb.net ([205.234.137.17] helo=halifax.hostforweb.net) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1V6MX3-0004U4-5w for ding@gnus.org; Mon, 05 Aug 2013 17:17:13 +0200 Original-Received: from [219.34.144.17] (port=47175 helo=) by halifax.hostforweb.net with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.80.1) (envelope-from ) id 1V6MWo-0000le-0c for ding@gnus.org; Mon, 05 Aug 2013 10:17:06 -0500 X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:FpTwPEFflCttMWt8WEzhFNIcXVk= X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - halifax.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: halifax.hostforweb.net: authenticated_id: yamaokac/only user confirmed/virtual account not confirmed X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.8 (/) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.4225 Ham tokens: 0.000-156--1166h-0s--0d--H*u:Emacs, 0.000-112--836h-0s--0d--H*u:Gnus, 0.000-112--836h-0s--0d--H*UA:Gnus, 0.000-105--784h-0s--0d--H*u:linux, 0.000-105--784h-0s--0d--H*UA:linux Spam tokens: 0.995-12196--376h-50625s--0d--H*r:quimby.gnus.org, 0.992-11443--552h-48301s--0d--H*Ad:D*gnus.org, 0.991-6690--363h-28399s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.990-11642--671h-49582s--0d--HTo:D*gnus.org, 0.990-12145--708h-51754s--0d--H*RU:quimby.gnus.org Autolearn status: ham -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [205.234.137.17 listed in list.dnswl.org] 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4225] List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83666 Archived-At: --=-=-= Content-Type: text/plain Katsumi Yamaoka wrote: > http://i-yt.info/?date=20090829#p01 (Japanese) > One says "To make xdg-open work with `start-process', bind > `process-connection-type' to nil.". I'll try it on Fedora 19 in > home I tried it on Fedora 19 and realized there is another problem. That is, `mm-display-external' deletes a temporary file too early to let at least xdg-open work. A temporary solution is attached. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment --- mm-decode.el~ 2013-08-02 13:27:04.887614207 +0000 +++ mm-decode.el 2013-08-05 15:14:07.063121804 +0000 @@ -964,3 +964,3 @@ (unwind-protect - (progn + (let ((process-connection-type nil)) (start-process "*display*" @@ -986,8 +986,8 @@ (when (eq (process-status process) 'exit) - (condition-case nil - (delete-file file) - (error)) - (condition-case nil - (delete-directory (file-name-directory file)) - (error)) + ;;(condition-case nil + ;; (delete-file file) + ;; (error)) + ;;(condition-case nil + ;; (delete-directory (file-name-directory file)) + ;; (error)) (when (buffer-live-p outbuf) --=-=-=--