Gnus development mailing list
 help / color / mirror / Atom feed
* viewing `application/octet-stream' MIME parts
@ 2011-09-20 20:06 Peter Münster
  2011-09-20 20:16 ` Adam Sjøgren
  2011-09-20 23:05 ` Katsumi Yamaoka
  0 siblings, 2 replies; 7+ messages in thread
From: Peter Münster @ 2011-09-20 20:06 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 889 bytes --]

Hello,

How can I view such MIME parts in-line?

The manual says:

  If builtin viewers can not display the object, Gnus resorts to
  external viewers in the ‘mailcap’ files.

So I created a ~/.mailcap file (just for testing):
--8<---------------cut here---------------start------------->8---
application/pdf;           pdftotext %s -; copiousoutput # no problem here
application/octet-stream;  pdftotext %s -; copiousoutput # does not work
--8<---------------cut here---------------end--------------->8---

When a pdf attachment has the content type `application/pdf', there is
no problem, but if it's `application/octet-stream', then emacs wants to
save the file (`Save MIME part to ...'), when pressing RET.

Please find attached 2 pdf files, one with content type
`application/pdf' and the other with `application/octet-stream' as
example.

TIA for any help!

-- 
           Peter

[-- Attachment #2: test file 1 --]
[-- Type: application/pdf, Size: 5433 bytes --]

[-- Attachment #3: test file 2 --]
[-- Type: application/octet-stream, Size: 5433 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-09-21  7:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-20 20:06 viewing `application/octet-stream' MIME parts Peter Münster
2011-09-20 20:16 ` Adam Sjøgren
2011-09-20 21:05   ` Peter Münster
2011-09-20 22:21     ` Adam Sjøgren
2011-09-21  7:50       ` Peter Münster
2011-09-21  7:59         ` Adam Sjøgren
2011-09-20 23:05 ` Katsumi Yamaoka

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).