From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81285 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Peter_M=C3=BCnster?= Newsgroups: gmane.emacs.gnus.general Subject: display mime-part inline Date: Thu, 09 Feb 2012 16:13:19 +0100 Message-ID: <87k43wca5s.fsf@micropit.couberia.bzh> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1328800480 436 80.91.229.3 (9 Feb 2012 15:14:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Feb 2012 15:14:40 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29566@lists.math.uh.edu Thu Feb 09 16:14:36 2012 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 1RvVhi-0002Tx-4k for ding-account@gmane.org; Thu, 09 Feb 2012 16:14:34 +0100 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 1RvVhG-0002qq-Da; Thu, 09 Feb 2012 09:14:06 -0600 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 1RvVhF-0002qg-8w for ding@lists.math.uh.edu; Thu, 09 Feb 2012 09:14:05 -0600 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 1RvVhA-0007t9-35 for ding@lists.math.uh.edu; Thu, 09 Feb 2012 09:14:04 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RvVh8-0003K5-2m for ding@gnus.org; Thu, 09 Feb 2012 16:13:58 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RvVh5-000275-6N for ding@gnus.org; Thu, 09 Feb 2012 16:13:55 +0100 Original-Received: from arennes-359-1-243-17.w2-2.abo.wanadoo.fr ([2.2.194.17]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Feb 2012 16:13:55 +0100 Original-Received: from pmlists by arennes-359-1-243-17.w2-2.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Feb 2012 16:13:55 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: arennes-359-1-243-17.w2-2.abo.wanadoo.fr User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux) Cancel-Lock: sha1:5SwqRmuObzWVOyMVIqKH1feBkVc= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81285 Archived-At: Hello, Sometimes, I want to display a pdf or ms-word document inline in the article buffer, even with running X11. For ms-word, these are my .mailcap entries: --8<---------------cut here---------------start------------->8--- application/msword; ooffice %s; test=test -n "$DISPLAY" application/msword; doc2txt.sh %s; copiousoutput --8<---------------cut here---------------end--------------->8--- When pressing "RET", Gnus uses the first entry to display the attachment. With "v", I can select "doc2txt.sh %s" and the message "Displaying doc2txt.sh /tmp/xxxxx...done" appears, but no text in the article buffer... Now, I use a workaround: - comment first line in .mailcap - run `mailcap-parse-mailcaps' - uncomment first line in .mailcap - press "RET" to display the attachment inline Is there an easier way? TIA for any help, -- Peter