Gnus development mailing list
 help / color / mirror / Atom feed
From: Daniel Pittman <daniel@danann.net>
Subject: Mailcap behavior not as expected
Date: 02 Jan 2000 19:17:17 +1100	[thread overview]
Message-ID: <873dsgnb02.fsf@inanna.danann.net> (raw)

Hi.

pGnus has a behavior in it's MIME display engine that I consider
somewhat odd, even if it is not technically a bug.

metamail(1) will select the first entry in the mailcap files that
matches the MIME type it is trying to display and attempt to use that to
display the content.

pGnus will try the last entry that matches the MIME type. Now,
mailcap(5) and friends don't actually specify behavior when there are
multiple matching entries in the mailcap files. 

I think that the behavior of metamail(1) is more what I would expect
though, an assumption that is also held by the architects of the Debian
MIME system -- they provide a configuration in /etc/ to allow one
package to be preferred as the viewer for it's MIME types.

This works by putting it's entries earlier in the system mailcap file...

Anyway, WIBNI pGnus also preferred the earlier entries, allowing it to
work like metamail(1) and it's friends?

        Daniel

-- 
No sight is more provocative of awe than is the night sky.
        -- Llewelyn Powys



             reply	other threads:[~2000-01-02  8:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-02  8:17 Daniel Pittman [this message]
2000-01-02 15:37 ` Per Abrahamsen
2000-01-02 16:12   ` Steinar Bang
2000-01-02 23:35   ` Carey Evans
2000-04-21 16:22 ` Lars Magne 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=873dsgnb02.fsf@inanna.danann.net \
    --to=daniel@danann.net \
    /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).