From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68937 Path: news.gmane.org!not-for-mail From: Mike Kupfer Newsgroups: gmane.emacs.gnus.general Subject: Re: mm view PDF MIME part doesn't work, just exits Date: Sat, 29 Aug 2009 10:46:18 -0700 Message-ID: <200908291745.n7THjfGi034673@shell.rawbw.com> References: <87vdk9e6tf.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1251568116 19776 80.91.229.12 (29 Aug 2009 17:48:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Aug 2009 17:48:36 +0000 (UTC) Cc: Ding Mailing List To: Ted Zlatanov Original-X-From: ding-owner+M17356@lists.math.uh.edu Sat Aug 29 19:48:29 2009 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1MhS2O-0008SR-PW for ding-account@gmane.org; Sat, 29 Aug 2009 19:48:28 +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 1MhS1u-0007ys-GK; Sat, 29 Aug 2009 12:47:58 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1MhRzn-0007y5-Ng for ding@lists.math.uh.edu; Sat, 29 Aug 2009 12:45:47 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1MhRzl-00027L-Ko for ding@lists.math.uh.edu; Sat, 29 Aug 2009 12:45:47 -0500 Original-Received: from shell.rawbw.com ([198.144.192.42] ident=root) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1MhS0M-0005YG-00 for ; Sat, 29 Aug 2009 19:46:22 +0200 Original-Received: from rawbw.com (m208-249.dsl.rawbw.com [198.144.208.249]) by shell.rawbw.com (8.13.6/8.13.6) with ESMTP id n7THjfGi034673; Sat, 29 Aug 2009 10:45:41 -0700 (PDT) In-Reply-To: Your message of "Thu, 27 Aug 2009 08:15:40 CDT." <87vdk9e6tf.fsf@lifelogs.com> X-Mailer: MH-E 7.4.2; nmh 1.2; XEmacs 21.4 (patch 22) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68937 Archived-At: >>>>> "Ted" == Ted Zlatanov 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