Ben <[email protected]> writes:

> Lars Ingebrigtsen <[email protected]> writes:
>
>> Ben Bacarisse <[email protected]> writes:
>>
>>> My system is currently set up so that gnus happens to use mplayer to
>>> open video mime parts but I'd like it, and other mailcap aware programs,
>>> to use something else.  So I put the line
>>>
>>> video/*; totem %s
>>>
>>> into ~/.mailscap.  Checking with run-mailcap shows it to be working as
>>> expected, but gnus continues to use mplayer.
>>
>> I can't find the string "mplayer" anywhere in the Gnus sources, so do
>> you know where that setting is coming from?
>
> It's in /etc/mailcap -- where system-wide settings are placed.  Gnus
> reads /etc/mailcap and ~/.mailcap to determine what to do with mime
> parts.

~/.mailcap should certainly win over /etc/mailcap, but more specific
settings should also win over less general settings.  My guess is that
/etc/mailcap has something like

video/mpeg; mplayer %s; description="MPEG Video"

which makes it more specific than the video/* in your ~/.mailcap.

But I still think that your ~/.mailcap should have won.  Please report
this as a bug with `M-x report-emacs-bug'.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

_______________________________________________
info-gnus-english mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to