From xemacs-m  Fri Mar 28 10:03:32 1997
Received: from mailhost.lanl.gov (mailhost.lanl.gov [128.165.3.12])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id KAA06033
	for <xemacs-beta@xemacs.org>; Fri, 28 Mar 1997 10:03:31 -0600 (CST)
Received: from branagh.ta52.lanl.gov (branagh.ta52.lanl.gov [128.165.144.9]) by mailhost.lanl.gov (8.8.5/8.8.3) with SMTP id JAA11908 for <xemacs-beta@xemacs.org>; Fri, 28 Mar 1997 09:03:30 -0700 (MST)
Received: by branagh.ta52.lanl.gov (SMI-8.6/SMI-SVR4)
	id IAA21525; Fri, 28 Mar 1997 08:58:37 -0700
Date: Fri, 28 Mar 1997 08:58:37 -0700
Message-Id: <199703281558.IAA21525@branagh.ta52.lanl.gov>
From: "John A. Turner" <turner@branagh.ta52.lanl.gov>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: xemacs-beta@xemacs.org
Subject: Re: "live-icon" problem with 20.1-beta10 (solaris 2.5.1)
In-Reply-To: <199703281524.HAA08084@network-services.uoregon.edu>
References: <199703281524.HAA08084@network-services.uoregon.edu>
X-Mailer: VM 6.22 under 19.15 XEmacs Lucid
Reply-To: turner@lanl.gov

David M. Meyer writes:

 > 	I had this code in my .emacs:
 > 
 > 	(cond ((getenv "DISPLAY")
 >            (require 'live-icon)
 >            (live-icon-all-frames))
 >          (t
 >            (message "Ignoring Live Icons")))
 > 
 > 	20.1-beta10 pops up this warning (incrementing/keystroke); 
 > 
 > (35) (specifier/warning) (error "Type of image instance not allowed here" #<image-instance (text) on #<x-device on "network-services:3.0" 0x6b6> "/* XPM */
 > static char icon[] = {
 > \"80 80 3 1\",
 > \"C c Black\",
 > \"B c Gray75\",
 > \"A c WhiteSmoke\",

Interesting.  I've seen that message as well, but it was related to
frame-icon.

It was strange, and it turned out I was doing something a bit wrong,
so I never reported it.  Maybe it's worth mentioning, though.

o In my .emacs, after (require 'frame-icon) I used to have code to add
  in the mappings for cvs-mode and f90-mode to icon-mode-alist, before
  they were added to frame-icon.el itself.

o I forgot about that code, so it remained in there even after they
  were added to frame-icon.el.

o It never presented a problem, until one day I did a cvs-update, and
  later switched to another virtual desktop (I'm using Solaris 2.5.1
  and CDE 1.0.2).

o Not long after that, the XEmacs frame in the original desktop pops
  up in the new desktop, with something similar to the above.
  Amazingly, I just switched to that desktop, and it turns out I had
  saved the message, and it was still there.  Here it is:

(1000) (specifier/warning) (error "Type of image instance not allowed here" #<image-instance (text) on #<x-device on ":0.0" 0x6f1> "/opt/local/xemacs-19.15-b104/etc/frame-icon/tree.xbm" 0x27c4>)

  Notice the (1000).  A new one of this would appear whenever I did
  anything (move the mouse, anything) and the number would increment.

Anyway, all this went away when I removed the code in my .emacs after
the (require 'frame-icon) mentioned above.

I don't know if this helps or not, but it was similar enough to the
live-icon thing mentioned above that I figured it might.

-- 
John Turner
http://www.lanl.gov/home/turner

