all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Abrahams <dave@boost-consulting.com>
Cc: emacs-devel@gnu.org
Subject: Re: image display in MinGW build?
Date: Mon, 08 May 2006 06:59:52 -0400	[thread overview]
Message-ID: <uiroghjdj.fsf@boost-consulting.com> (raw)
In-Reply-To: <f7ccd24b0605080338k233f85b8pd1c9efd0fa832198@mail.gmail.com> (Juanma Barranquero's message of "Mon, 8 May 2006 12:38:42 +0200")

"Juanma Barranquero" <lekktu@gmail.com> writes:

> In a fully configured MinGW build, `image-types' contains '(png gif
> tiff jpeg xpm xbm pbm). 

That's what mine says.

> If any of them is missing, there was some
> problem locating the library headers at compile time (assuming they
> were not explicitly left out with configure.bat, of course).
>
> If an image type does appear in `image-types', but
> (image-type-available-p type) returns nil, Emacs was unable to locate
> the library .DLL.

(reduce 
   (lambda (state type) (and state (image-type-available-p type))) 
   image-types)

yields 't'  :)

> Note, however, that the result of `image-type-available-p' is cached
> internally, so if one library is missing and you add it to the path
> *after* using `image-type-available-p' to try to load this particular
> image type, it will still return nil until you restart Emacs.

Oh, that explains why one of my tests failed.  Thanks!

> Hope this helps,

It does, thanks again.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

  reply	other threads:[~2006-05-08 10:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-08  0:58 image display in MinGW build? David Abrahams
2006-05-08  3:26 ` Eli Zaretskii
2006-05-08  4:39   ` David Abrahams
2006-05-08 10:38     ` Juanma Barranquero
2006-05-08 10:59       ` David Abrahams [this message]
2006-05-08  9:11 ` Jason Rumney
2006-05-08 10:33   ` David Abrahams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uiroghjdj.fsf@boost-consulting.com \
    --to=dave@boost-consulting.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.