From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83659 Path: news.gmane.org!not-for-mail From: John Williams Newsgroups: gmane.emacs.gnus.general Subject: Re: MIME parts not saved Date: Mon, 05 Aug 2013 14:35:11 +1100 Message-ID: <87txj4kdxs.fsf@otago.ac.nz> References: <87wqo439c9.fsf@otago.ac.nz> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1375674023 6481 80.91.229.3 (5 Aug 2013 03:40:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Aug 2013 03:40:23 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M31915@lists.math.uh.edu Mon Aug 05 05:40:24 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 1V6Beh-0004lO-Kr for ding-account@gmane.org; Mon, 05 Aug 2013 05:40:24 +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 1V6BeS-0007mb-HC; Sun, 04 Aug 2013 22:40:08 -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 1V6BeR-0007mK-6l for ding@lists.math.uh.edu; Sun, 04 Aug 2013 22:40:07 -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 1V6BeQ-0001No-5Q for ding@lists.math.uh.edu; Sun, 04 Aug 2013 22:40:07 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1V6BeO-0005LV-Qj for ding@gnus.org; Mon, 05 Aug 2013 05:40:04 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V6BeN-0003yt-Pr for ding@gnus.org; Mon, 05 Aug 2013 05:40:03 +0200 Original-Received: from 93.177.42.153 ([93.177.42.153]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Aug 2013 05:40:03 +0200 Original-Received: from john.williams by 93.177.42.153 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Aug 2013 05:40:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 93.177.42.153 User-Agent: Gnus/5.110017 (No Gnus v0.17) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:d0f/5AguXp+Blneut2w3etT4PqI= X-Spam-Score: 2.0 (++) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-156--1163h-0s--0d--H*u:Emacs, 0.000-112--833h-0s--0d--H*u:Gnus, 0.000-112--833h-0s--0d--H*UA:Gnus, 0.000-105--781h-0s--0d--H*u:linux, 0.000-105--781h-0s--0d--H*UA:linux Spam tokens: 0.991-6655--363h-28263s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.990-11606--671h-49447s--0d--HTo:D*gnus.org, 0.990-12108--708h-51618s--0d--H*RU:quimby.gnus.org, 0.988-11949--868h-51619s--0d--HX-Spam-Relays-Internal:quimby.gnus.org, 0.988-11949--868h-51619s--0d--H*RT:80.91.231.51 Autolearn status: no -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.91.229.3 listed in list.dnswl.org] 2.7 FSL_HELO_BARE_IP_2 FSL_HELO_BARE_IP_2 1.2 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83659 Archived-At: Katsumi Yamaoka writes: > The solution I took then was to remove xdg-open from the mailcap > database, as described in the article. You may want to add the > entries to the database[1] for the pairs of the content-types and > the viewers if Fedora doesn't provide them in the system mailcap > database. To know what entries there are, do > `M-x load-library RET mailcap RET' and > `C-h v mailcap-mime-data RET'. > > [1] An easy way is to have the ~/.mailcap file with the entries > like the following: > > application/pdf; /usr/bin/acroread %s > application/msword; /usr/bin/ooffice %s > > Note that whenever you edited the file you have to do > `M-x mailcap-parse-mailcaps RET', or restart Emacs and Gnus. That works great, thank you so much! But if this is a common problem, perhaps it should be noted in the Gnus manual, in the section about dealing with MIME parts? >> So then I try to save the part locally, am prompted for a location and >> save the file. Great! The file is created. Except that when I go to >> open it, I find that it is empty, i.e. 0 bytes. > > I don't know. Is it always empty for any attachment? I forgot that I had set nnimap to only download non-MIME parts from the server. As soon as Lars asked if there was anything in the attachment, I remembered. I'm sorry to have bothered you and Lars with this silly question. Thanks for your help, John