From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Abrahams Newsgroups: gmane.emacs.devel Subject: Re: image display in MinGW build? Date: Mon, 08 May 2006 06:59:52 -0400 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1147086016 32087 80.91.229.2 (8 May 2006 11:00:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 May 2006 11:00:16 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 08 13:00:14 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fd3TC-0000Y1-KB for ged-emacs-devel@m.gmane.org; Mon, 08 May 2006 13:00:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fd3TC-0006bI-8s for ged-emacs-devel@m.gmane.org; Mon, 08 May 2006 07:00:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fd3Sx-0006aB-CI for emacs-devel@gnu.org; Mon, 08 May 2006 06:59:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fd3Sw-0006Zl-8y for emacs-devel@gnu.org; Mon, 08 May 2006 06:59:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fd3Sw-0006Zi-1m for emacs-devel@gnu.org; Mon, 08 May 2006 06:59:50 -0400 Original-Received: from [207.172.4.11] (helo=smtp01.lnh.mail.rcn.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fd3Tk-0003tl-M9 for emacs-devel@gnu.org; Mon, 08 May 2006 07:00:40 -0400 Original-Received: from 216-15-125-177.c3-0.smr-ubr3.sbo-smr.ma.cable.rcn.com (HELO i9300.boost-consulting.com) ([216.15.125.177]) by smtp01.lnh.mail.rcn.net with ESMTP; 08 May 2006 07:00:31 -0400 X-IronPort-AV: i="4.05,100,1146456000"; d="scan'208"; a="199708296:sNHT23208332" Original-Received: from dave by i9300.boost-consulting.com with local (Exim 4.60) (envelope-from ) id IYY17S-0002Q8-HS; Mon, 08 May 2006 06:59:52 -0400 Original-To: "Juanma Barranquero" In-Reply-To: (Juanma Barranquero's message of "Mon, 8 May 2006 12:38:42 +0200") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (windows-nt) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:54080 Archived-At: "Juanma Barranquero" 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