Gnus development mailing list
 help / color / mirror / Atom feed
* Mailcap problem specifying application/octet-stream
@ 2000-08-15 15:20 John S Cooper
  2000-08-15 17:19 ` Toby Speight
  0 siblings, 1 reply; 4+ messages in thread
From: John S Cooper @ 2000-08-15 15:20 UTC (permalink / raw)


My .mailcap has the following line (I use Win2K):

application/octet-stream; shelex %s

(to let the OS launch programs based on their filename suffix.)

However, my mailcap-mime-data now has 2 entries for application/octet-stream:

My .mailcap stuff:

  ("octet-stream"
   (viewer . "shelex %s")
   (type . "application/octet-stream"))

.. and the default:

  ("octet-stream"
   (viewer . mailcap-save-binary-file)
   (non-viewer . t)
   (type . "application/octet-stream"))

When I hit RET on the MIME button, it seems the default action takes effect and
I'm prompted to save the attachment to a file.

It looks like mailcap-add-mailcap-entry might be keeping both entries because
the viewer is different in each case (although this is something of a guess!).

Any ideas on how I can make my .mailcap specification for
application/octet-stream override the default?

Thanks,

    --- John



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

end of thread, other threads:[~2000-08-16 14:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-15 15:20 Mailcap problem specifying application/octet-stream John S Cooper
2000-08-15 17:19 ` Toby Speight
2000-08-15 17:30   ` ShengHuo ZHU
2000-08-16 14:50     ` John Cooper (UK)

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