From xemacs-m  Mon Jun  2 18:46:23 1997
Received: from crystal.WonderWorks.COM (crystal.WonderWorks.com [192.203.206.1])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id SAA08083
	for <xemacs-beta@xemacs.org>; Mon, 2 Jun 1997 18:46:21 -0500 (CDT)
Received: by crystal.WonderWorks.COM 
	id QQcsgl18678; Mon, 2 Jun 1997 19:46:22 -0400 (EDT)
Date: Mon, 2 Jun 1997 19:46:22 -0400 (EDT)
Message-Id: <QQcsgl18678.199706022346@crystal.WonderWorks.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Kyle Jones <kyle_jones@wonderworks.com>
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: [Marc Nozell <marc@nozell.com>] xpm bug in Gnus v5.4.56
In-Reply-To: <kigiuzwskoi.fsf@jagor.srce.hr>
References: <kigiuzwskoi.fsf@jagor.srce.hr>
X-Mailer: VM 6.32 under 20.3 XEmacs Lucid (beta3)
X-Face: /cA45WHG7jWq>(O3&Z57Y<"WsX5ddc,4c#w0F*zrV#=M
        0@~@,s;b,aMtR5Sqs"+nU.z^CSFQ9t`z2>W,S,]:[+2^
        Nbf6v4g>!&,7R4Ot4Wg{&tm=WX7P["9%a)_da48-^tGy
        ,qz]Z,Zz\{E.,]'EO+F)@$KtF&V

Hrvoje Niksic writes:
 > Uh, this is too much for me.  I thought the whole point of doing this:
 > 
 > (make-glyph '([xpm :file "something.xpm"]
 >               [gif :file "something.gif"]
 >               [xbm :file "something.xbm"]
 >               [string :data "Image"]))
 > 
 > was to try, in turn, each of these formats.  But it turns out that
 > this bugs out when XEmacs is compiled without xpm, gif, etc.

Well, there are different levels of failure.  The code expects
you to use featurep to see if the image format is supported by
the binary, before trying to create an image specifier containing
the instantiator.  If you use an unsupported image type you get
an syntax error right away.

If you use valid instantiator, the instantiation code will then
fallback through the list if the GIF/JPEG/whatever image cannot
be instantiated.

