From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rasmus Newsgroups: gmane.emacs.help Subject: Re: Recent Emacs doesn't respect my mailcap Date: Tue, 27 Jan 2015 02:40:18 +0100 Message-ID: <87twzdrofx.fsf@gmx.us> References: <87386xf5gx.fsf@building.gnus.org> <87386xdmzp.fsf@building.gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1422322857 21301 80.91.229.3 (27 Jan 2015 01:40:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2015 01:40:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 27 02:40:53 2015 Return-path: Envelope-to: geh-help-gnu-emacs@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 1YFv9B-0005Bn-4U for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Jan 2015 02:40:53 +0100 Original-Received: from localhost ([::1]:44866 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFv9A-000344-Hn for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Jan 2015 20:40:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFv8o-000337-VE for help-gnu-emacs@gnu.org; Mon, 26 Jan 2015 20:40:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YFv8k-0003rg-KI for help-gnu-emacs@gnu.org; Mon, 26 Jan 2015 20:40:30 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:51163) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFv8k-0003rR-Cw for help-gnu-emacs@gnu.org; Mon, 26 Jan 2015 20:40:26 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YFv8i-0004ib-JN for help-gnu-emacs@gnu.org; Tue, 27 Jan 2015 02:40:24 +0100 Original-Received: from tsn109-201-152-225.dyn.nltelcom.net ([109.201.152.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Jan 2015 02:40:24 +0100 Original-Received: from rasmus by tsn109-201-152-225.dyn.nltelcom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Jan 2015 02:40:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: tsn109-201-152-225.dyn.nltelcom.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAAAAAByaaZbAAAAAmJLR0QA/4ePzL8AAAAJcEhZ cwAAAEgAAABIAEbJaz4AAAFcSURBVEjH1ZXbscMgDERTd9pQLdvHNsTMRcLIQmDj5CMzl3ESB3RY vbBf5cPx+iHAaY3DHJkAFIJoa7BFCKqV3tdfABOAPgnIMaWzZkuRDJgDPMTRb6jbsCnwWdDqu/mf Y/gqrSlT5A44/HR7bIAYbfu3Ayz5Ui/RGpRHAGu+8Zaa97Kq/iJLUpMvmn6V416hMH5wCxwNMWyB G4DyRjBpcsJroLZcBKTlDDfAmJXWQsxxh26tm429YGJZIpwHkXFDvW1xXQBsjQw9ZvZjIiKXQN9c zwrcuRzECYgsOuc8mhNA82QGsASQhtI2ajBcASz+BDApu0SNBcdTYAAYAS+gxa1NawXioFAywOJf tAKOAL0TJgXbGuduQ3v3OvQ1uLsTwGjp8TkQ+/IVTW4BzgpT0XroxNqlPECXyQrlUuFUeQDEENyL DdAa6RPABR4rMB307QslvyN++WL/v8Af4GqHu+Dr4gkAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTEt MDctMjJUMTA6NTU6MzErMDI6MDD8c0dMAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDExLTA3LTIyVDEw OjU1OjMxKzAyOjAwjS7/8AAAAABJRU5ErkJggg== User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:lzPm8QqpEePb84GRZ9mllqPwCpw= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102303 Archived-At: Lars Magne Ingebrigtsen writes: > I though the first viable viewer in the list would be used? So the > priority is how it's ordered... According to Peder: > > Hmm, I haven't removed that entry, but I do have earlier entries keyed > > to "pdf" that point to xdg-open. Still doesn't use it, though... > That's because mailcap.el sorts the candidates using > mailcap-viewer-lessp, which is hardcoded to prefer lisp-implemented > viewers. http://thread.gmane.org/gmane.emacs.gnus.general/85405 I took his word for it, though. On my system: (assoc "pdf" (assoc "application" mailcap-mime-data)) => ("pdf" (viewer . "evince %s") (type . "application/pdf")) But I'm still stuck with doc-view... —Rasmus -- The second rule of Fight Club is: You do not talk about Fight Club