* Giving priority to wildcard MIME types
@ 2016-02-22 22:19 Dave Abrahams
2016-02-22 22:31 ` Adam Sjøgren
0 siblings, 1 reply; 2+ messages in thread
From: Dave Abrahams @ 2016-02-22 22:19 UTC (permalink / raw)
To: ding
So, mailcap-mime-data comes prepopulated with all kinds of stuff that's
not appropriate for any normal installation on my platform (Mac OS X),
and I want to override it all by using wildcards in my ~/.mailcap file:
,----[ .mailcap ]
| # After editing: `M-x mailcap-parse-mailcaps'
|
| */*; open %s
| application/*; open %s
`----
The problem is, mailcap-possible-viewers is designed to always list the
non-wildcard matches (which are in mailcap-mime-data) first, which means
I have to manually create “open %s” lines in ~/.mailcap for each mime
type in that list. There's got to be a better way... doesn't there?
--
-Dave
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-02-22 22:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-22 22:19 Giving priority to wildcard MIME types Dave Abrahams
2016-02-22 22:31 ` Adam Sjøgren
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).