From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/23857 Path: main.gmane.org!not-for-mail From: Neil Crellin Newsgroups: gmane.emacs.gnus.general Subject: Re: Pterodactyl Gnus v0.91 is released Date: 05 Jul 1999 07:54:33 -0700 Organization: Wallaby 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 X-Trace: main.gmane.org 1035161514 4265 80.91.224.250 (21 Oct 2002 00:51:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:51:54 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id LAA10886 for ; Mon, 5 Jul 1999 11:02:42 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id JAB04230; Mon, 5 Jul 1999 09:56:07 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 05 Jul 1999 09:56:57 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id JAA09676 for ; Mon, 5 Jul 1999 09:56:07 -0500 (CDT) Original-Received: from webtile.wallaby.cc (c186349-a.smateo1.sfba.home.com [24.5.200.59]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id KAA10570 for ; Mon, 5 Jul 1999 10:54:40 -0400 (EDT) Original-Received: by webtile.wallaby.cc (Postfix, from userid 6077) id A13356277A; Mon, 5 Jul 1999 07:54:33 -0700 (PDT) Original-To: ding@gnus.org In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "05 Jul 1999 11:32:51 +0200" Original-Lines: 31 User-Agent: Gnus/5.070091 (Pterodactyl Gnus v0.91) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:23857 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:23857 Kai.Grossjohann@CS.Uni-Dortmund.DE writes: > Neil Crellin writes: > > > Using string= in place of string-match here is doing the totally wrong > > thing with regard to wildcard matches in the mailcap parsing. I suggest > > reverting that particular sub-patch. I'm not seeing what exactly that > > patch was needed for, so I don't know if this breaks anything else, > > but it does fix wildcard mailcap matches. > > Somebody had a string "c++" in there, and using string-match didn't > find it. (I forgot the exact details.) > > Can we make it grok "c++" and wildcards? > > What is wildcard matching in mailcap parsing supposed to do? A fairly common artifice in mailcaps are things like the following: audio/*; /usr/bin/play %s image/*; xv %s video/*; xanim %s In the example I was trying, mailcap-possible-viewers on an image/gif was found to match no viewer with the above mailcap definition when string= replaced string-match. With string-match, the viewer was determined to be "xv %s". -- Neil Crellin