info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnus seems to not understand video/* syntax in mailcap files.


From: Ben
Subject: Re: Gnus seems to not understand video/* syntax in mailcap files.
Date: Mon, 15 Feb 2016 11:19:40 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Ben <ben.lists@bsb.me.uk> writes:
>
>> Lars Ingebrigtsen <larsi@gnus.org> writes:
>>
>>> Ben Bacarisse <ben.lists@bsb.me.uk> 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.

That is certainly how other programs that use mailcap files interpret it
-- a personal wild-card setting wins over even a very specific system
setting.

> Please report
> this as a bug with `M-x report-emacs-bug'.

OK.

-- 
Ben.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]