Gnus development mailing list
 help / color / mirror / Atom feed
From: John S Cooper <John.Cooper@eu.citrix.com>
Subject: Mailcap problem specifying application/octet-stream
Date: 15 Aug 2000 16:20:21 +0100	[thread overview]
Message-ID: <uvgx23616.fsf@KONTIKI.cam.eu.citrix.com> (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



             reply	other threads:[~2000-08-15 15:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-15 15:20 John S Cooper [this message]
2000-08-15 17:19 ` Toby Speight
2000-08-15 17:30   ` ShengHuo ZHU
2000-08-16 14:50     ` John Cooper (UK)

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=uvgx23616.fsf@KONTIKI.cam.eu.citrix.com \
    --to=john.cooper@eu.citrix.com \
    /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).