From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Oliver Scholz Newsgroups: gmane.emacs.devel Subject: Re: XPM images Date: Fri, 27 Sep 2002 01:45:12 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1033077993 27927 127.0.0.1 (26 Sep 2002 22:06:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 26 Sep 2002 22:06:33 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17ugmF-0007GH-00 for ; Fri, 27 Sep 2002 00:06:31 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17uhUB-0007Z6-00 for ; Fri, 27 Sep 2002 00:51:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17ugmO-0002ra-00; Thu, 26 Sep 2002 18:06:40 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17ugkQ-0002hP-00 for emacs-devel@gnu.org; Thu, 26 Sep 2002 18:04:38 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17ugkO-0002hD-00 for emacs-devel@gnu.org; Thu, 26 Sep 2002 18:04:37 -0400 Original-Received: from dialin-145-254-194-073.arcor-ip.net ([145.254.194.73] helo=localhost.localdomain) by monty-python.gnu.org with esmtp (Exim 4.10) id 17ugkN-0002gY-00; Thu, 26 Sep 2002 18:04:35 -0400 Original-Received: (from egoge@localhost) by localhost.localdomain (8.11.4/8.11.4) id g8QNjCO03120; Fri, 27 Sep 2002 01:45:12 +0200 X-Authentication-Warning: localhost.localdomain: egoge set sender to epameinondas@gmx.de using -f Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Thu, 26 Sep 2002 17:45:19 -0400") X-Operating-System: GNU/Linux, built from scratch: http://www.linuxfromscratch.org/ X-Attribution: os X-Face: "HgH2sgK|bfH$;PiOJI6|qUCf.ve<51_Od(%ynHr?=>znn#~#oS>",F%B8&\vus),2AsPYb -n>PgddtGEn}s7kH?7kH{P_~vu?]OvVN^qD(L)>G^gDCl(U9n{:d>'DkilN!_K"eNzjrtI4Ya6;Td% IZGMbJ{lawG+'J>QXPZD&TwWU@^~A}f^zAb[Ru;CT(UA]c& Original-Lines: 27 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) X-MIME-Autoconverted: from 8bit to quoted-printable by localhost.localdomain id g8QNjCO03120 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8189 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8189 Richard Stallman writes: > * The "splash.xpm" image that is displayed with the startup-message= , > is a little bigger. While the Lisp-conversion is IMO fast enough = for > small images like icons, it would slow down the startup notably t= o > use it on splash.xpm. > > We have a file splash.pbm as well. I presume that Emacs will use that > rather than use your code, right? So the slowdown is only hypothetical= , > right? Not necessarily. It depends on the chosen solution. The decision between splash.pbm and splash.xpm is made in startup.el, based on functions provided by image.el. So if I go on and hook the Lisp-conversion into images.el (I guess that would be `create-image'), it _could_ affect the choice of the image. Of course, I could also make sure in startup.el that this does not happen. That's why I asked. Another solution could be to use PPM instead of XPM for the coloured image, which is, as Gerd said, always supported. -- Oliver --=20 Oliver Scholz 6 Vend=E9miaire an 211 de la R=E9volution Taunusstr. 25 Libert=E9, Egalit=E9, Fraternit=E9! 60329 Frankfurt a. M. http://www.jungdemokratenhessen.de Tel. (069) 97 40 99 42 http://www.jdjl.org