From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/23864 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 08:43:20 -0700 Organization: Wallaby Sender: owner-ding@hpc.uh.edu Message-ID: References: <87908vcfal.fsf@pc-hrvoje.srce.hr> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035161519 4295 80.91.224.250 (21 Oct 2002 00:51:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:51:59 +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 MAA11810 for ; Mon, 5 Jul 1999 12:22:15 -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 LAB04902; Mon, 5 Jul 1999 11:07:24 -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 11:08:10 -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 LAA10337 for ; Mon, 5 Jul 1999 11:07:54 -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 MAA11227 for ; Mon, 5 Jul 1999 12:06:50 -0400 (EDT) Original-Received: by webtile.wallaby.cc (Postfix, from userid 6077) id A0E0F6277A; Mon, 5 Jul 1999 08:43:20 -0700 (PDT) Original-To: ding@gnus.org In-Reply-To: Hrvoje Niksic's message of "05 Jul 1999 17:00:34 +0200" Original-Lines: 34 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:23864 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:23864 Hrvoje Niksic writes: > Neil Crellin writes: > > > 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". > > How can that work? string-match works with regexps, not with > wildcards. mailcap-possible-viewers is called with major set to ((".*" (viewer . "xv %s") (type . "image/*")) ("x-xwd" (viewer . "xwud -in %s") (type . "image/x-xwd") ("compose" . "xwd -frame > %s") (test eq (mm-device-type) (quote x)) ("needsx11")) ("x11-dump" (viewer . "xwud -in %s") (type . "image/x-xwd") ("compose" . "xwd -frame > %s") (test eq (mm-device-type) (quote x)) ("needsx11")) ("windowdump" (viewer . "xwud -in %s") (type . "image/x-xwd") ("compose" . "xwd -frame > %s") (test eq (mm-device-type) (quote x)) ("needsx11")) (".*" (viewer . "aopen %s") (type . "image/*") (test eq (mm-device-type) (quote ns))) (".*" (viewer . "display %s") (type . "image/*") (test eq (mm-device-type) (quote x)) ("needsx11")) (".*" (viewer . "ee %s") (type . "image/*") (test eq (mm-device-type) (quote x)) ("needsx11"))) and minor set to "gif", if that helps.