From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85558 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Recent Emacs doesn't respect my mailcap Date: Tue, 27 Jan 2015 15:47:03 +1100 Message-ID: <878ugobzjs.fsf@building.gnus.org> References: <87386xf5gx.fsf@building.gnus.org> <87386xdmzp.fsf@building.gnus.org> <87h9vdc7cn.fsf@building.gnus.org> <87egqhrmzv.fsf@gmx.us> <87a915c5an.fsf@building.gnus.org> <87ppa1rkp7.fsf@ericabrahamsen.net> <87386xc4fh.fsf@building.gnus.org> <87fvawri03.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422334194 24646 80.91.229.3 (27 Jan 2015 04:49:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2015 04:49:54 +0000 (UTC) Cc: ding@gnus.org To: Eric Abrahamsen Original-X-From: ding-owner+M33798@lists.math.uh.edu Tue Jan 27 05:49:50 2015 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YFy61-0002RX-OL for ding-account@gmane.org; Tue, 27 Jan 2015 05:49:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1YFy5U-0000mH-9N; Mon, 26 Jan 2015 22:49:16 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1YFy5S-0000m2-Gu for ding@lists.math.uh.edu; Mon, 26 Jan 2015 22:49:14 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1YFy5O-0000T6-3Z for ding@lists.math.uh.edu; Mon, 26 Jan 2015 22:49:14 -0600 Original-Received: from smtp.syd.comcen.com.au ([203.23.236.77]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1YFy5L-0003wJ-OM for ding@gnus.org; Tue, 27 Jan 2015 05:49:08 +0100 Original-Received: from building.gnus.org ([27.96.197.126]) by smtp.syd.comcen.com.au (8.13.4/8.12.9) with ESMTP id t0R4l8Yx074612; Tue, 27 Jan 2015 15:47:09 +1100 (EST) In-Reply-To: <87fvawri03.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Tue, 27 Jan 2015 11:59:24 +0800") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-comcen-MailScanner-Information: Please contact the ISP for more information X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0.097, required 4, AWL 0.01, BAYES_40 -0.01, RDNS_NONE 0.10) X-comcen-MailScanner-From: larsi@gnus.org X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85558 Archived-At: Eric Abrahamsen writes: > Lars Ingebrigtsen writes: > >> Eric Abrahamsen writes: >> >>> In my use case, I've already told Gnus to view the PDF externally by >>> using `gnus-article-view-part-externally'. Given that, and the fact that >>> I've specified an external viewer in ~/.mailcap, it seems a little >>> perverse that I'm still stuck seeing it in Doc View. If I wanted to do >>> that, I could have just called `gnus-article-view-part'! >> >> That does sound like a bug. Perhaps that command should filter out all >> Lisp functions from `mailcap-mime-data'? > > Or put ~/.mailcap stuff at the front of the list, or maybe just don't > re-sort mailcap-mime-data. I don't think anything fancy needs to be done > -- it should be enough just to *not* mess with mailcap-mime-data. The `-externally' command should work different from the other command, shouldn't it? Otherwise, what's the point of having two of these commands? This code is so old it's hard to remember what the rationale for all this may have been. Perhaps people used to have huge ~/.mailcap files installed by other programs, and that meant that all the nice internal Emacs commands for dealing with stuff never got called? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/