From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54161 Path: main.gmane.org!not-for-mail From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de> Newsgroups: gmane.emacs.gnus.general Subject: Re: Disable mailcap support Date: Fri, 03 Oct 2003 20:10:00 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <20030928161139.GA31465@deneb.enyo.de> Reply-To: reiner.steib@gmx.de NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1065206269 15833 80.91.224.253 (3 Oct 2003 18:37:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Oct 2003 18:37:49 +0000 (UTC) Original-X-From: ding-owner+M2702@lists.math.uh.edu Fri Oct 03 20:37:47 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 1A5UoE-0003M5-00 for ; Fri, 03 Oct 2003 20:37:47 +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 1A5Un3-0002xB-00; Fri, 03 Oct 2003 13:36:33 -0500 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1A5Umv-0002x5-00 for ding@lists.math.uh.edu; Fri, 03 Oct 2003 13:36:26 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id 8F5783A0059 for ; Fri, 3 Oct 2003 13:36:18 -0500 (CDT) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A5Umn-0007ut-00 for ; Fri, 03 Oct 2003 20:36:17 +0200 Mail-Followup-To: ding@gnus.org X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A5Umm-0007ul-00 for ; Fri, 03 Oct 2003 20:36:16 +0200 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A5Umm-000458-00 for ; Fri, 03 Oct 2003 20:36:16 +0200 Original-Lines: 29 Original-X-Complaints-To: usenet@sea.gmane.org X-Face: 'bg&jY[8V'W&:=~6w"|>}#4/T;w~36ei4NNMyKRR.a$n=$|sWFPF1y]a\>6kc\*#GN]UDM| Ywv,vbL^XF1nIp\:F=$Ei2o&mEe:%N~,:3]vtQ~s9u$9izmX$IF@VgGl7/,^dbuM<3|AO2}.%|%?kZ 2Y=@\U!~cll^=8Z9ihKq%wmUe1Ky(#kl3T'>Qk0Ia3mCBsTk?E(,X Mail-Copies-To: nobody User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:VwaWkwz4u+yLf0B7vHytL2tOjbQ= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54161 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54161 On Fri, Oct 03 2003, Jesper Harder wrote: > Reiner Steib <4.uce.03.r.s@nurfuerspam.de> writes: >> (Just a thought...) We could split the data as follows: >> - defcustom mailcap-mime-data-internal (Lisp, PGP, message/* and other >> internal stuff?) >> - defvar mailcap-mime-data-external (build this from mailcap files) >> - defvar mailcap-mime-data-external-fallback >> >> The default should be mailcap-mime-data = mailcap-mime-data-internal + >> mailcap-mime-data-external. The user should be able to add the >> fallback entries `mailcap-mime-data-external-fallback' with, say >> (mailcap-add-fallback). > > I'm not sure I get the purpose of the fallback entries. What is the > difference between `mailcap-add' and `mailcap-add-fallback'? If we do the suggested splitting (see above), IMHO we should offer a simple way for the user (or other lisp programs) to add the external entries (those now defined by `mailcap.el') to `mailcap-mime-data'. A function `mailcap-add-fallback' (maybe a better name would be `mailcap-add-fallback-entries'?) would do this, preferring the entries from mailcap files and from the defcustom'ed variable. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/