From xemacs-m  Wed Jun  4 09:29:10 1997
Received: from wr.com.au (wr.com.au [203.12.42.10])
	by xemacs.org (8.8.5/8.8.5) with SMTP id JAA05562
	for <xemacs-beta@xemacs.org>; Wed, 4 Jun 1997 09:29:08 -0500 (CDT)
Received: from ishtar (dialup11.wr.com.au) by wr.com.au (5.x/SMI-SVR4-1.0)
	id AA07236; Thu, 5 Jun 1997 00:24:36 +1000
Message-Id: <3.0.32.19700101120000.009244c0@wr.com.au>
X-Sender: davidh@wr.com.au
X-Mailer: Windows Eudora Pro Version 3.0 (32)
Date: Thu, 01 Jan 1970 11:00:00 +1000
To: Hrvoje Niksic <hniksic@srce.hr>,
        XEmacs Developers <xemacs-beta@xemacs.org>
From: David Hobley <davidh@wr.com.au>
Subject: Re: Problems with bitmaps on NT.
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

At 15:23 4/06/97 +0200, Hrvoje Niksic wrote:
>David Hobley <davidh@wr.com.au> writes:
>
>> Could someone please explain what the following error message actually
>> means please:
>> 
>> (specifier/warning) (error "No compatible image-instance types given:
>> wanted one of (text), got (nothing mono-pixmap color-pixmap)" [string :data
>> "F:\\src\\xemacs-20.3-b2/etc/xemacs-icon2.xbm"])
>
>Obviously, [string...] was the last fallback, and the thing wanted
>mono-pixmap or color-pixmap or nothing.
>
>Add a [nothing] fallback.

Sorry - I don't think I gave enough context to my question -

Firstly I am a complete lisp novice! One of the reasons XEmacs is so nice
is the easy to use menus which do lots of configuration for you IMHO!
Anyway ...

When running XEmacs under NT, I get the error message above - this works
under unix so I was trying to find out why my version didn't think it
understood the format.

To my uneducated eye, it looks like it wanted (text) and got (nothing
mono-pixmap color-pixmap) and was passed the [string :data ...] parameter.
Is that correct ? In which case I thought I would probably want to make it
ask for (mono-pixmap) somehow - given the file specified is a .xbm.

The actual code is in prim/glyphs.el (or at least - this is the only place
I could find reference to xemacs-icon2.xbm)

...
        ((featurep 'x)
         (set-glyph-image frame-icon-glyph
                          (concat data-directory "xemacs-icon2.xbm")
                          'global 'x)))
...

How would I add a [nothing] fallback ? Should I ? I assume this works under
unix as is and I would
want to fix the problem rather than work around it.

If there is a particular bit of the docco I should be reading please point
me to it and I'll investigate.

>Why don't you use: [xbm :file "F:\\...."]?

As mentioned above - it is standard XEmacs code, so I don't know. Is it a
bug ?

Thanks for your help.

Cheers,
david

