From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Delayed loading of image libraries Date: 02 Jul 2004 09:10:55 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20040701120343.4161.JMBARRANQUERO@wke.es> <20040702085419.CF31.JMBARRANQUERO@wke.es> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1088752284 19166 80.91.224.253 (2 Jul 2004 07:11:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Jul 2004 07:11:24 +0000 (UTC) Cc: Andreas Schwab , emacs-devel@gnu.org, Miles Bader Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Jul 02 09:11:17 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BgICb-0003ml-00 for ; Fri, 02 Jul 2004 09:11:17 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BgICa-0000dO-00 for ; Fri, 02 Jul 2004 09:11:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BgIEO-0003y9-HD for emacs-devel@quimby.gnus.org; Fri, 02 Jul 2004 03:13:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BgIEK-0003xY-LD for emacs-devel@gnu.org; Fri, 02 Jul 2004 03:13:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BgIEJ-0003wx-F9 for emacs-devel@gnu.org; Fri, 02 Jul 2004 03:13:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BgIEJ-0003wu-D0 for emacs-devel@gnu.org; Fri, 02 Jul 2004 03:13:03 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BgICI-0008Uq-Cw for emacs-devel@gnu.org; Fri, 02 Jul 2004 03:10:58 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1BgICH-00029B-Ki; Fri, 02 Jul 2004 03:10:58 -0400 Original-To: Juanma Barranquero In-Reply-To: <20040702085419.CF31.JMBARRANQUERO@wke.es> Original-Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:25374 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25374 Juanma Barranquero writes: > On Fri, 02 Jul 2004 10:16:03 +0900 > Miles Bader wrote: > > > Previously, the value returned by `create-image' was a valid > > image, which could be displayed, even if saved to a file and read > > back in a new emacs session. After your change for windows, this > > was not true any longer. > > Why? In which way would it be different from the previous > situation, where you could make a PNG image, say, save it, and load > it on an Emacs *not* supporting PNG? In that we are not talking about an Emacs not supporting PNG. It is fine if an Emacs not supporting PNG does not display a PNG. It is not fine if an Emacs supporting PNG does not display a PNG. > After loading, Emacs *must* ask at a moment or other whether the > image type is available, mustn't it? How about when displaying it? > So, at what moment is the loaded image used, and why > `image-type-available-p' has not been called at that point? Why should image-type-available-p have been called? -- David Kastrup, Kriemhildstr. 15, 44793 Bochum