From xemacs-m  Wed Jul  2 16:47:18 1997
Received: from steadfast.teradyne.com (steadfast.teradyne.com [131.101.1.200])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id QAA10488
	for <xemacs-beta@xemacs.org>; Wed, 2 Jul 1997 16:47:17 -0500 (CDT)
Received: from engine.ecf.teradyne.com (engine.ecf.teradyne.com [131.101.192.6]) by steadfast.teradyne.com (8.7.1/8.7.1) with ESMTP id RAA07259; Wed, 2 Jul 1997 17:51:18 -0400 (EDT)
Received: from midnight.eng.ecf.teradyne.com (midnight.ecf.teradyne.com [131.101.192.49]) by engine.ecf.teradyne.com (8.7.1/8.7.1) with SMTP id XAA08237; Wed, 2 Jul 1997 23:46:37 +0200 (MET DST)
Received: by midnight.eng.ecf.teradyne.com (SMI-8.6/SMI-SVR4)
	id XAA17735; Wed, 2 Jul 1997 23:46:38 +0200
To: Kyle Jones <kyle_jones@wonderworks.com>
Cc: xemacs-beta@xemacs.org
Subject: Re: 20.3-b10: image lossage
References: <m290zsj0z4.fsf@altair.xemacs.org> 	<199707010112.CAA02519@cerise.sensei.co.uk> 	<QQcwgb01800.199707010123@crystal.WonderWorks.COM> <QQcwgh02992.199707010257@crystal.WonderWorks.COM>
X-Face: 4[iHdXiTu\V3u[~\I)<f9HC);%~nG8`oUqv#uzvs6=\V{AjN6Sn
 c/qi;YLwRmEbt8Y*=j5n(urqY@chPh@J'D"QlqD!C8>*}#kYF[-tYl3VZga/HSOP|K,{L
 Rtu@f0y/=O&Cu}\:~d|P$JON?pn?j,&CnPb1z#/TL9bkAJwyol&a:SvYj-VYbM=Dtxhk9
 =w|R6U3_;SH&B<Mfy6Q%#
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: multipart/mixed;
 boundary="Multipart_Wed_Jul__2_23:46:36_1997-1"
Content-Transfer-Encoding: 7bit
From: Adrian Aichner <aichner@ecf.teradyne.com>
Date: 02 Jul 1997 23:46:36 +0200
In-Reply-To: Kyle Jones's message of "Mon, 30 Jun 1997 22:57:40 -0400 (EDT)"
Message-ID: <rxsd8p1xh37.fsf@midnight.ecf.teradyne.com>
Lines: 54
X-Mailer: Gnus v5.4.60/XEmacs 20.3(beta10) - "Athens"

--Multipart_Wed_Jul__2_23:46:36_1997-1
Content-Type: text/plain; charset=US-ASCII

>>>>> "Kyle" == Kyle Jones <kyle_jones@wonderworks.com> writes:

Kyle,

in my actual XEmacs setup I also use crypt.
Setting (setq format-alist nil) will prompt

Encryption key for cbx.gif? [RET to ignore]:

When I hit RET I get the GIF data displayed with no way to turn on
image-decoding.


--Multipart_Wed_Jul__2_23:46:36_1997-1
Content-Type: application/octet-stream; type=emacs-lisp
Content-Disposition: attachment; filename="image-test.el"
Content-Transfer-Encoding: 7bit

(defun not-ok ()
  (require 'crypt)
  (setq format-alist nil)
  (find-file (concat data-directory "cbx.gif")))

(defun ok ()
  (find-file (concat data-directory "cbx.gif")))

--Multipart_Wed_Jul__2_23:46:36_1997-1
Content-Type: text/plain; charset=US-ASCII


I ran
xemacs -q -no-site-file -load ~/image-test.el -f not-ok
again to demonstrate this problem.

BTW: xpm file come up image-decoded when I run xemacs -q -no-site-file 
but I can easily toggle to edit them.

Adrian

    Kyle> The image lossage is due to image-mode's image decoding functions
    Kyle> being on format-alist.  The internal buffer, " *pixmap conversion*",
    Kyle> used by the image file reading code is being hosed by this code.
    Kyle> Simplest solution for the users

    Kyle> (setq format-alist nil)

    Kyle> Believe me, there's nothing worth saving on this alist.



--Multipart_Wed_Jul__2_23:46:36_1997-1--

