From: "Peter Münster" <pmlists@free.fr>
To: ding@gnus.org
Subject: display mime-part inline
Date: Thu, 09 Feb 2012 16:13:19 +0100 [thread overview]
Message-ID: <87k43wca5s.fsf@micropit.couberia.bzh> (raw)
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
next reply other threads:[~2012-02-09 15:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-09 15:13 Peter Münster [this message]
2012-02-09 21:26 ` Lars Ingebrigtsen
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=87k43wca5s.fsf@micropit.couberia.bzh \
--to=pmlists@free.fr \
--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).