GNU bug report logs -
#22684
24.5; Gnus seems not to understand wildcard mime types in mailcap files.
Previous Next
Reported by: Ben Bacarisse <ben.usenet <at> bsb.me.uk>
Date: Mon, 15 Feb 2016 17:57:02 UTC
Severity: normal
Tags: notabug
Found in version 24.5
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 22684 <at> debbugs.gnu.org (full text, mbox):
Ben Bacarisse <ben.usenet <at> bsb.me.uk> writes:
> With no ~/.mailcap file:
>
> 1. Start message mode
>
> 2. Eval (mailcap-parse-mailcaps)
>
> 3. Eval (mailcap-mime-info "video/quicktime")
>
> 4. Note what the view handler is (it's mplayer on mys system). This
> most likely comes from comes from /etc/mailcap.
>
> 5. Create a ~/.mailcap file with a line
>
> video/*; totem %s
>
> 6. Either force a re-parse with (mailcap-parse-mailcaps nil t) or
> restart emacs -Q and do steps 1 and 2 again.
>
> 7. Eval (mailcap-mime-info "video/quicktime"). This will be unchanged
> but I think the local setting should take precedence. Other programs
> (run-mailcap, mutt, mhshow) certainly now use totem rather than
> mplayer.
mailcap.el chooses the most specific entry, no matter what the order of
the entries are. So if you have a video/quicktime somewhere, you can't
override that by just saying "video/*" in mailcap.el. I think that's a
pretty odd way of doing things, but it's been that way since, well,
forever, so it's not exactly a bug...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 7 years and 46 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.