Gnus development mailing list
 help / color / mirror / Atom feed
From: Mike Kupfer <m.kupfer@acm.org>
To: Ted Zlatanov <tzz@lifelogs.com>
Cc: Ding Mailing List <ding@gnus.org>
Subject: Re: mm view PDF MIME part doesn't work, just exits
Date: Sat, 29 Aug 2009 10:46:18 -0700	[thread overview]
Message-ID: <200908291745.n7THjfGi034673@shell.rawbw.com> (raw)
In-Reply-To: Your message of "Thu, 27 Aug 2009 08:15:40 CDT." <87vdk9e6tf.fsf@lifelogs.com>

>>>>> "Ted" == Ted Zlatanov <tzz@lifelogs.com> writes:

Ted> I see "Displaying xpdf /tmp/emm.../file.pdf...done" and that's it.
Ted> xpdf doesn't come up as it should.

Ted> I customized the mailcap and mailcap-mime-data to ensure the right
Ted> thing is called, but no luck.  What should I do to debug this?

The first thing I'd try is saving the attachment to a file, and then
starting xpdf from a shell to view it.

If that works, I'd create a wrapper script and use it instead of the
system xpdf.  For example, something like

  echo $* > $HOME/xpdf.args
  /usr/bin/xpdf $*

could verify that the command-line arguments are correct.

I recall seeing a thread not too long ago about problems that happen if
a viewer daemonizes itself.  The parent (Emacs in this case) thinks that
the viewer has finished, so it deletes the temp file, before the viewer
has actually read in the temp file.  I'd be surprised if xpdf were doing
that, but I suppose it's something you could check.

cheers,
mike



  reply	other threads:[~2009-08-29 17:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-27 13:15 Ted Zlatanov
2009-08-29 17:46 ` Mike Kupfer [this message]
2009-09-14 21:19   ` Ted Zlatanov
2009-09-15 11:58     ` Katsumi Yamaoka
2009-09-15 12:27       ` Ted Zlatanov
2009-09-15 23:57         ` Katsumi Yamaoka
2009-09-16 16:05           ` Ted Zlatanov

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=200908291745.n7THjfGi034673@shell.rawbw.com \
    --to=m.kupfer@acm.org \
    --cc=ding@gnus.org \
    --cc=tzz@lifelogs.com \
    /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).