Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: Re: MIME parts not saved
Date: Mon, 05 Aug 2013 09:54:17 +0900	[thread overview]
Message-ID: <b4m8v0hot3a.fsf@jpl.org> (raw)
In-Reply-To: <87wqo439c9.fsf@otago.ac.nz>

john.williams@otago.ac.nz wrote:
> When I try to view an attachement in an email message (a MS Word
> document or PDF, for example), Gnus helpfully tells me that xdg-open is
> opening /tmp/mm* . But nothing ever happens.  In a sepratate terminal
> window I say ls /tmp/mm*, but there are no files of that pattern.

For viewing, those are temporary files and will be deleted after
passing them to a viewer.  I had the same problem about xdg-open
and brought it up here years ago:

http://thread.gmane.org/gmane.emacs.gnus.general/68353

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.

> 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 have no clue how to start debugging this. What infomation shouldl I
> provide to anyone who would like to help me?  My whole .emacs and/or
> .gnus.el?

As for the case an empty file is saved, forward an example mail
to me if possible.

> Ma Gnus v0.17, Emacs 24.3.50.1 on Fedora 19.  Is any other information
> relevant?



  parent reply	other threads:[~2013-08-05  0:54 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-02  6:17 John Williams
2013-08-03 11:25 ` Lars Magne Ingebrigtsen
2013-08-05  3:31   ` John Williams
2013-08-05  0:54 ` Katsumi Yamaoka [this message]
2013-08-05  3:35   ` John Williams
2013-08-05 11:25     ` Katsumi Yamaoka
2013-08-05 15:16       ` Katsumi Yamaoka
2013-08-06 13:52         ` Katsumi Yamaoka
2013-08-07 14:22           ` Dan Christensen
2013-08-08  0:43             ` Katsumi Yamaoka
2013-08-09  8:06               ` Katsumi Yamaoka
2013-08-09 23:20                 ` Dan Christensen
2013-08-12  2:38                   ` Katsumi Yamaoka
2013-08-12  5:59                     ` Katsumi Yamaoka
2013-08-12 14:09                     ` Dan Christensen
2013-08-12 17:18                       ` Lars Magne Ingebrigtsen
2013-08-13  2:29                         ` Dan Christensen
2013-08-13  4:02                           ` Katsumi Yamaoka
2013-08-13  5:22                             ` Katsumi Yamaoka
2013-08-13 10:43                             ` Adam Sjøgren
2013-08-13 20:47                               ` Dan Christensen
2013-08-13 23:50                                 ` Katsumi Yamaoka
2013-08-14  1:41                                   ` Dan Christensen
2013-08-14  8:52                                     ` Adam Sjøgren
2013-08-14  8:58                                   ` Adam Sjøgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b4m8v0hot3a.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).