From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54120 Path: main.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.gnus.general Subject: Re: Disable mailcap support Date: Wed, 01 Oct 2003 01:37:53 +0200 Organization: http://purl.org/harder/ Sender: ding-owner@lists.math.uh.edu Message-ID: References: <20030928161139.GA31465@deneb.enyo.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1064965196 23716 80.91.224.253 (30 Sep 2003 23:39:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Sep 2003 23:39:56 +0000 (UTC) Original-X-From: ding-owner+M2661@lists.math.uh.edu Wed Oct 01 01:39:54 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A4U5x-00038Z-00 for ; Wed, 01 Oct 2003 01:39:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1A4U5K-0001iy-00; Tue, 30 Sep 2003 18:39:14 -0500 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1A4U5B-0001iq-00 for ding@lists.math.uh.edu; Tue, 30 Sep 2003 18:39:05 -0500 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id 0ABD63A004E for ; Tue, 30 Sep 2003 18:39:05 -0500 (CDT) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1A4U5A-0000Ms-00 for ; Wed, 01 Oct 2003 01:39:04 +0200 Original-To: ding@gnus.org Original-Path: localhost.localdomain!nobody Original-Newsgroups: gnus.ding Original-Lines: 33 Original-NNTP-Posting-Host: 0xc3f95374.esnxr2.ras.tele.dk Original-X-Trace: quimby.gnus.org 1064965144 1417 195.249.83.116 (30 Sep 2003 23:39:04 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Tue, 30 Sep 2003 23:39:04 +0000 (UTC) X-Face: ^RrvqCr7c,P$zTR:QED"@h9+BTm-"fjZJJ-3=OU7.)i/K]<.J88}s>'Z_$r; writes: > On Mon, Sep 29 2003, Jesper Harder wrote: > >> I don't understand the purpose. This is exactly what mailcap is >> intended to do -- that is if you don't want to invoke an external >> viewer for some MIME type, then edit your .mailcap file to reflect >> that preference. > > Gnus adds many entries (~43) to `mailcap-mime-data'. Most of them are > not present in my mailcap files. I've been unable to find a simple > way of removing the entire entries created by Gnus. (setq mailcap-mime-data nil) ? > Or suppose a user wants to display all kind of images (internally or > externally), but always save dvi, ps, pdf, ... to a file. What should > the user put in his mailcap files? Saving to a file is an internal function, so you can't specify it in mailcap, but (mailcap-add "application/pdf" 'mailcap-save-binary-file) etc. should work fine. > _Not_ having entries for dvi, ps, pdf should be enough. I think I agree. But I don't understand why there are external viewers in `mailcap-mime-data' in the first place. If no one knows a good reason I think we should remove them (and use defcustom).