Gnus development mailing list
 help / color / mirror / Atom feed
* 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

* Re: Giving priority to wildcard MIME types
  2016-02-22 22:19 Giving priority to wildcard MIME types Dave Abrahams
@ 2016-02-22 22:31 ` Adam Sjøgren
  0 siblings, 0 replies; 2+ messages in thread
From: Adam Sjøgren @ 2016-02-22 22:31 UTC (permalink / raw)
  To: ding

Dave writes:

> 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?

I think this was discussed recently¹, leading to:

 · https://debbugs.gnu.org/cgi/bugreport.cgi?bug=22684


  Best regards,

    Adam


¹: http://thread.gmane.org/gmane.emacs.gnus.user/18079/


-- 
 "Jeg har læst alt hvad google kan finde."                    Adam Sjøgren
                                                         asjo@koldfront.dk




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