From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85547 Path: news.gmane.org!not-for-mail From: Rasmus Newsgroups: gmane.emacs.help,gmane.emacs.gnus.general Subject: Re: Recent Emacs doesn't respect my mailcap Date: Tue, 27 Jan 2015 03:11:32 +0100 Message-ID: <87egqhrmzv.fsf@gmx.us> References: <87386xf5gx.fsf@building.gnus.org> <87386xdmzp.fsf@building.gnus.org> <87h9vdc7cn.fsf@building.gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422324733 17960 80.91.229.3 (27 Jan 2015 02:12:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2015 02:12:13 +0000 (UTC) Cc: ding@gnus.org 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 03:12:12 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 1YFvdR-0002d7-8Z for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Jan 2015 03:12:09 +0100 Original-Received: from localhost ([::1]:44952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFvdQ-0000JT-LV for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Jan 2015 21:12:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40668) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFvdC-0000JM-HM for help-gnu-emacs@gnu.org; Mon, 26 Jan 2015 21:11:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YFvd8-0006De-MA for help-gnu-emacs@gnu.org; Mon, 26 Jan 2015 21:11:54 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:52283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFvd8-0006DS-F0 for help-gnu-emacs@gnu.org; Mon, 26 Jan 2015 21:11:50 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YFvd3-0002H2-OX for help-gnu-emacs@gnu.org; Tue, 27 Jan 2015 03:11:45 +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 03:11:45 +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 03:11:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 42 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: tsn109-201-152-225.dyn.nltelcom.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAAAAAByaaZbAAAAAmJLR0QA/4ePzL8AAAAJcEhZ cwAAAEgAAABIAEbJaz4AAAJLSURBVEjHzZa7geQwDEMdoxm0wlJYCVtBMWgHwQXyT7O7txceI9vj J1EkCM8xSbWdJN2yx7mi0RJRCXU/PCqpWddecf3okm2hMpUHYMx7UTsDwPcCsTGC895BLz4uiXw/ QL3fz9Hh+162vVKWlCQF5Q2o+31v2+lJ0gDoJOUdqM/3LSoZjAUk0WzAzifxEIoxdgbKfsYcdz1e laJDJlGjvgXknaAaTAZF+BvAqh0ogJVURVD2qhxwbOohbKs1XBWAU3tZq2Oz7a2wnkpiT8XMnhL8 yO8WVLoS2+VUfwB0wtl3sEexMpXBfAKKkXkUfO4hygWOduII1v6NLSl12XEpEdld15wcQpb8+OTq ZmtXjPrU6EFlOkmE/BS27ebZB51Xu8wTTc+SOWXbZq15uMtWStJXmwo9U0vfkB276Et8N9A8eUGO LTgxa4otD3sDlpwvB1nFHSZpcJromPMClgFwqWqlLTWcsypmefgGmvKA8VmaIUAoa2STlPQATXSS DC7hDlpr9b57rT5eg7YCOi+XJHqSRwSt40uXKF91SmImfY6cSfhnYMmUswp19SZfgNs4jUqMs3kf rvFWxD3yZGJgn5+vwCNTYSx92tYn4JenNAHszvoJeOhE5y62pvhlRDdrh+Ii4MTL3qwPm9nyhzPl 1a1BjdSyN/t9A0K51hnGyYAAUN6c6dhagGuwVVkNs9mb930c+tns/laanvlLH1YMnxmv+Qeg+ml5 d/0GyI5vKxS2z+6366Nf1qlNTt8Cnn79g/Akv57h5/gPgT/tvnoH3s4GngAAAABJRU5ErkJggg== Cancel-Lock: sha1:hKiw/2+mE+mqak9+U2suHREvylQ= 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:102305 gmane.emacs.gnus.general:85547 Archived-At: Hi, Lars Magne Ingebrigtsen writes: >>> 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've looked at the code a bit more, and what it's doing now seems rather > odd. OK. I haven't checked it yet. > I can't seem to get > > (mailcap-mime-info "application/pdf") > > to respect my ~/.mailcap file at all? Nope. I picks up evince, which is in my ~/.mailcap after I remove doc-view-mode: (setcdr (assoc "application" mailcap-mime-data) (remove '("pdf" (viewer . doc-view-mode) (type . "application/pdf") (test eq window-system 'x)) (cdr (assoc "application" mailcap-mime-data)))) > Is that a bug or is it supposed to be that way? A bug, I hope! Thanks, Rasmus -- Bang bang