Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* mailcap/mime types
@ 2007-11-08 18:00 Richard G Riley
  2007-11-20 19:38 ` Reiner Steib
  0 siblings, 1 reply; 4+ messages in thread
From: Richard G Riley @ 2007-11-08 18:00 UTC (permalink / raw)
  To: info-gnus-english


I have an mime attachment in an email marked in gnis like this:

[2. application/octet-stream; Toom_Bumper.wmv]

What would the .mailcap entry to match this similar to:

video/x-ms-wmv;/usr/local/bin/mplayer %s

Thanks for any help.

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

* Re: mailcap/mime types
  2007-11-08 18:00 mailcap/mime types Richard G Riley
@ 2007-11-20 19:38 ` Reiner Steib
  2007-11-21 18:48   ` William F Hammond
  0 siblings, 1 reply; 4+ messages in thread
From: Reiner Steib @ 2007-11-20 19:38 UTC (permalink / raw)
  To: info-gnus-english

On Thu, Nov 08 2007, Richard G Riley wrote:

> I have an mime attachment in an email marked in gnis like this:
>
> [2. application/octet-stream; Toom_Bumper.wmv]
>
> What would the .mailcap entry to match this similar to:
>
> video/x-ms-wmv;/usr/local/bin/mplayer %s

It would be ...
  application/octet-stream; /usr/local/bin/mplayer %s
..., but probably `2 K e' (`gnus-mime-view-part-externally' on part 2)
works as well: It looks for the MIME viewer for `*.wmv'.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

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

* Re: mailcap/mime types
  2007-11-20 19:38 ` Reiner Steib
@ 2007-11-21 18:48   ` William F Hammond
  2007-11-21 19:49     ` Reiner Steib
  0 siblings, 1 reply; 4+ messages in thread
From: William F Hammond @ 2007-11-21 18:48 UTC (permalink / raw)
  To: info-gnus-english

Reiner Steib <reinersteib+gmane@imap.cc> writes:

> On Thu, Nov 08 2007, Richard G Riley wrote:
>> ...
>> What would the .mailcap entry to match this similar to:
>>
>> video/x-ms-wmv;/usr/local/bin/mplayer %s
>
> It would be ...
>   application/octet-stream; /usr/local/bin/mplayer %s

But in .mailcap this would cause mplayer to be spawned for all
instances of application/octet-stream, which is a catch-all
content-type for "binary" things of whatever nature.

My sense is that this content-type is used when the content-provider
expects the user to download and save or when the content-provider
does not know what content-type to use.

                                    -- Bill

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

* Re: mailcap/mime types
  2007-11-21 18:48   ` William F Hammond
@ 2007-11-21 19:49     ` Reiner Steib
  0 siblings, 0 replies; 4+ messages in thread
From: Reiner Steib @ 2007-11-21 19:49 UTC (permalink / raw)
  To: info-gnus-english

On Wed, Nov 21 2007, William F Hammond wrote:

> But in .mailcap this would cause mplayer to be spawned for all
> instances of application/octet-stream, which is a catch-all
> content-type for "binary" things of whatever nature.

Yes.  But that's what Richard asked. ;-)

> My sense is that this content-type is used when the content-provider
> expects the user to download and save or when the content-provider
> does not know what content-type to use.

More often it happens when using a broken MUA.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

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

end of thread, other threads:[~2007-11-21 19:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-08 18:00 mailcap/mime types Richard G Riley
2007-11-20 19:38 ` Reiner Steib
2007-11-21 18:48   ` William F Hammond
2007-11-21 19:49     ` Reiner Steib

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