From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: image-size Date: Fri, 21 Jun 2013 09:13:47 +0300 Message-ID: <83fvwcng84.fsf@gnu.org> References: <837ghopy8a.fsf@gnu.org> <83zjukog7h.fsf@gnu.org> <83txksodgv.fsf@gnu.org> <83r4fwocqd.fsf@gnu.org> <83ppvgoaw9.fsf@gnu.org> <83mwqko9ge.fsf@gnu.org> <83k3loo66g.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1371795231 32324 80.91.229.3 (21 Jun 2013 06:13:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Jun 2013 06:13:51 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 21 08:13:51 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UpubX-0003Iy-0T for ged-emacs-devel@m.gmane.org; Fri, 21 Jun 2013 08:13:51 +0200 Original-Received: from localhost ([::1]:45651 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpubW-0005ar-Hn for ged-emacs-devel@m.gmane.org; Fri, 21 Jun 2013 02:13:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpubR-0005WJ-Ii for emacs-devel@gnu.org; Fri, 21 Jun 2013 02:13:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpubM-0004R1-5N for emacs-devel@gnu.org; Fri, 21 Jun 2013 02:13:45 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:42743) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpubL-0004Qq-Tq for emacs-devel@gnu.org; Fri, 21 Jun 2013 02:13:40 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MOQ00M00BYB4Q00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Fri, 21 Jun 2013 09:13:36 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MOQ00LC5BYOY970@a-mtaout20.012.net.il>; Fri, 21 Jun 2013 09:13:36 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:160800 Archived-At: > From: Lars Magne Ingebrigtsen > Date: Thu, 20 Jun 2013 22:57:10 +0200 > Cc: emacs-devel@gnu.org > > As Chong said: > > > You have to replace the call to lookup_image in `image-size' with a > > new function that avoids loading the image. What do you mean by "loading the image"? You cannot have the size without reading the image file.