From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/18090 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.gnus.user Subject: Re: Gnus seems to not understand video/* syntax in mailcap files. Date: Mon, 15 Feb 2016 15:26:00 +1100 Message-ID: <8760xqa9bb.fsf@gnus.org> References: <87a8n4dnkx.fsf@gnus.org> <8760xrjl0o.fsf@bsb.me.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1455510412 1751 80.91.229.3 (15 Feb 2016 04:26:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Feb 2016 04:26:52 +0000 (UTC) Cc: info-gnus-english@gnu.org To: Ben Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Feb 15 05:26:43 2016 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aVAkE-0000as-Pl for gegu-info-gnus-english@m.gmane.org; Mon, 15 Feb 2016 05:26:42 +0100 Original-Received: from localhost ([::1]:56314 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVAkD-00079b-TO for gegu-info-gnus-english@m.gmane.org; Sun, 14 Feb 2016 23:26:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33828) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVAk8-00079P-Si for info-gnus-english@gnu.org; Sun, 14 Feb 2016 23:26:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVAk3-0005j2-TO for info-gnus-english@gnu.org; Sun, 14 Feb 2016 23:26:36 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:36208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVAk3-0005ix-LH for info-gnus-english@gnu.org; Sun, 14 Feb 2016 23:26:31 -0500 Original-Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aVAjf-0006YC-0R; Mon, 15 Feb 2016 05:26:07 +0100 In-Reply-To: <8760xrjl0o.fsf@bsb.me.uk> (Ben's message of "Sun, 14 Feb 2016 16:48:23 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aVAjf-0006YC-0R MailScanner-NULL-Check: 1456115167.90195@9DhKhjG5pqGGgNaJhYHemw X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:18090 Archived-At: Ben writes: > Lars Ingebrigtsen writes: > >> Ben Bacarisse 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