From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/13935 Path: main.gmane.org!not-for-mail From: Per Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: More On Mime Date: 12 Feb 1998 11:25:27 +0100 Organization: The Church of Emacs Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035153210 11951 80.91.224.250 (20 Oct 2002 22:33:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:33:30 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id CAA19050 for ; Thu, 12 Feb 1998 02:29:14 -0800 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by xemacs.org (8.8.5/8.8.5) with ESMTP id EAA26509 for ; Thu, 12 Feb 1998 04:27:42 -0600 (CST) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id FAN16889; Thu, 12 Feb 1998 05:04:01 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 12 Feb 1998 04:26:19 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id EAA28452 for ; Thu, 12 Feb 1998 04:26:06 -0600 (CST) Original-Received: (qmail 9459 invoked by uid 504); 12 Feb 1998 10:26:00 -0000 Original-Received: (qmail 9454 invoked from network); 12 Feb 1998 10:25:59 -0000 Original-Received: from elc1.dina.kvl.dk (130.225.40.228) by claymore.vcinet.com with SMTP; 12 Feb 1998 10:25:59 -0000 Original-Received: from zuse.dina.kvl.dk (zuse.dina.kvl.dk [130.225.40.245]) by elc1.dina.kvl.dk (8.6.12/8.6.4) with ESMTP id LAA24344; Thu, 12 Feb 1998 11:25:27 +0100 Original-Received: (abraham@localhost) by zuse.dina.kvl.dk (8.6.12/8.6.4) id LAA23511; Thu, 12 Feb 1998 11:25:27 +0100 Original-To: ding@gnus.org X-Face: +kRV2]2q}lixHkE{U)mY#+6]{AH=yN~S9@IFiOa@X6?GM|8MBp/ In-Reply-To: Lars Magne Ingebrigtsen's message of 11 Feb 1998 14:42:29 +0100 Original-Lines: 37 X-Mailer: Gnus v5.5/Emacs 20.2 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:13935 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:13935 Nice. I have been thinking about it from a customization point of view, i.e. how to specify methods for handling each content-type. emime-standard-methods General methods provided by the mime library emime-mailcap-methods General methods parsed from the mailcap file emime-user-methods (customizable) General methods specified by the user. emime-aplication-standard-methods Extra methods specified by the application (i.e. Gnus, W3, RMAIL). emime-application-user-methods Extra methods specified by the user for this application only. When the mime library want to handle a particular content type, it should look through all the above. The latest taking priority. The individual applications would bind `emime-aplication-standard-methods' and `emime-application-user-methods' before calling the library. E.g. (let ((emime-aplication-standard-methods gnus-emime-standard-methods) (emime-application-user-methods gnus-emime-user-methods)) (emime-handle handle)) Maybe there should be separate variable for internal and external display of content. Maybe the priority of the mailcap methods have to be more detailed than the above. I believe you can specify application specific methods in mailcap as well.