From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/30311 Path: main.gmane.org!not-for-mail From: Lloyd Zusman Newsgroups: gmane.emacs.gnus.general Subject: Re: Logic error found in mailcap.el (was: Unable to change mailcap entry.) Date: 24 Apr 2000 16:04:47 -0400 Organization: Linux Hippopotamus Preserve Sender: owner-ding@hpc.uh.edu Message-ID: References: <2nd7ngxbbs.fsf@tiger.jia.vnet> <5bhfcrxov3.fsf@glottis.cs.rochester.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035166867 7794 80.91.224.250 (21 Oct 2002 02:21:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:21:07 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id 08C1AD051E for ; Mon, 24 Apr 2000 16:05:13 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id PAB17655; Mon, 24 Apr 2000 15:05:12 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 24 Apr 2000 15:04:40 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id PAA21120 for ; Mon, 24 Apr 2000 15:04:31 -0500 (CDT) Original-Received: from ljz.net (ljz.net [216.182.19.128]) by mailhost.sclp.com (Postfix) with ESMTP id DC493D051E for ; Mon, 24 Apr 2000 16:04:48 -0400 (EDT) Original-Received: by ljz.net (Postfix, from userid 510) id 267003ECB0; Mon, 24 Apr 2000 16:04:48 -0400 (EDT) Original-To: ding@gnus.org X-Face: "!ga1s|?LNLE3MeeeEYs(%LIl9q[xV9!j4#xf4!**BFW_ihlOb;:Slb>)vy>CJM writes: > >>>>> "LMI" == Lars Magne Ingebrigtsen writes: > > LMI> Shenghuo ZHU writes: > >> Another problem is that Gnus builtin mailcap overrides ~/.mailcap and > >> others. I don't think this is right. > >> > >> My suggestion is removing the nreverse calls, parsing mailcap file > >> backwards, and adjusting the file order in mailcap-parse-mailcaps. > > LMI> Hm, yes, that sounds like a good solution... > > Fixed. Please test. Yep ... seems to be fine now: `mailcap-add-mailcap-entry' within `.gnus.el' actually works, and `/etc/mailcap' entries indeed override the gnus defaults as well as `mailcap-add-mailcap-entry' calls within `.gnus.el'. I believe that this is exactly what it's supposed to do. Thanks! -- Lloyd Zusman ljz@asfast.com