From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jose A. Ortega Ruiz" Newsgroups: gmane.emacs.help Subject: Re: Recent Emacs doesn't respect my mailcap Date: Tue, 27 Jan 2015 20:17:09 +0100 Message-ID: <87k308f2yy.fsf@gnu.org> 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 X-Trace: ger.gmane.org 1422389600 31205 80.91.229.3 (27 Jan 2015 20:13:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2015 20:13:20 +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 21:13:20 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 1YGCVh-0006GZ-En for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Jan 2015 21:13:17 +0100 Original-Received: from localhost ([::1]:49689 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGCVg-0001CG-PI for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Jan 2015 15:13:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGCQq-00023F-Se for help-gnu-emacs@gnu.org; Tue, 27 Jan 2015 15:08:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGCQk-0001iw-S5 for help-gnu-emacs@gnu.org; Tue, 27 Jan 2015 15:08:16 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:57252) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGCQk-0001is-MJ for help-gnu-emacs@gnu.org; Tue, 27 Jan 2015 15:08:10 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YGCQi-0000NI-HG for help-gnu-emacs@gnu.org; Tue, 27 Jan 2015 21:08:08 +0100 Original-Received: from 235.44.133.37.dynamic.jazztel.es ([37.133.44.235]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Jan 2015 21:08:08 +0100 Original-Received: from jao by 235.44.133.37.dynamic.jazztel.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Jan 2015 21:08:08 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 235.44.133.37.dynamic.jazztel.es User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Attribution: jao X-URL: Cancel-Lock: sha1:0fCZqVpFoaROy7vaxHb2Hn23yZw= 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:102317 Archived-At: On Tue, Jan 27 2015, Lars Magne Ingebrigtsen wrote: > Rasmus writes: > >> Maybe mailcap-mime-data should have an implicit USER-SET/PRIORITY flag >> that is added to entries read from user-mailcaps. These could then be >> preferred by `mailcap-viewer-lessp'. Would that solution work? > > I though the first viable viewer in the list would be used? So the > priority is how it's ordered... No, that's the problem: the viewer is picked by ordering them using `mailcap-viewer-lessp`, and that function is giving preference to elisp-based viewer over any other, no matter in which order they were read. IMHO, that's a bug. Cheers, jao -- I took a speed reading course and read War and Peace in twenty minutes. It involves Russia. -Woody Allen