emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Delayed loading of image libraries


From: Juanma Barranquero
Subject: Re: [PATCH] Delayed loading of image libraries
Date: Fri, 02 Jul 2004 10:34:00 +0200

On 02 Jul 2004 10:11:52 +0200
David Kastrup <address@hidden> wrote:

> The way I understand this, the responsibility of making the library
> available rests on the display code.

Yes.

> If it is, I have failed to get it.  It sounded to me like you were
> proposing that the user has to something before the image cn be
> displayed.

No!  What I say is that the display code should call
image-type-available-p before trying to lookup image type or determine
whether the image type is valid.

> What if a program does not care because it simply assumes that the
> configuration is correct?  If a particular format is not supported,
> we currently just get boxes.  That's ok.  It is not ok if we just get
> boxes even _when_ a particular format is supported.

That certainly does not happen if you open an image file and are using
auto-image-file-mode, for example.  From this discussion, I gather that
it does happen if you use create-image, save the result and then load it
and try to display it...

                                                                Juanma






reply via email to

[Prev in Thread] Current Thread [Next in Thread]