From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: alkibiades@gmx.de Newsgroups: gmane.emacs.devel Subject: Re: XPM via Lisp in the toolbar Date: Sat, 16 Nov 2002 19:44:59 +0100 Sender: emacs-devel-admin@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1037473510 8705 80.91.224.249 (16 Nov 2002 19:05:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 16 Nov 2002 19:05:10 +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 18D8Fg-0002G2-00 for ; Sat, 16 Nov 2002 20:05:08 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18D8T9-0000FM-00 for ; Sat, 16 Nov 2002 20:19:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18D8Ds-0008Az-00; Sat, 16 Nov 2002 14:03:16 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18D800-0001Hj-00 for emacs-devel@gnu.org; Sat, 16 Nov 2002 13:48:56 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18D7zv-0001Bs-00 for emacs-devel@gnu.org; Sat, 16 Nov 2002 13:48:54 -0500 Original-Received: from pop.gmx.net ([213.165.65.60] helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.10) id 18D7zu-00018m-00 for emacs-devel@gnu.org; Sat, 16 Nov 2002 13:48:50 -0500 Original-Received: (qmail 32435 invoked by uid 0); 16 Nov 2002 18:48:47 -0000 Original-Received: from dialin-145-254-191-203.arcor-ip.net (HELO HERMES) (145.254.191.203) by mail.gmx.net (mp022-rz3) with SMTP; 16 Nov 2002 18:48:47 -0000 X-Mailer: emacs 21.2.1 (via feedmail 11-beta-1 Q) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Sat, 16 Nov 2002 09:51:55 -0500") 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& User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-msvc-nt5.1.2600) 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:9488 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9488 Richard Stallman writes: > Or do you mean to do caching without storing the image data on the > disk? So that only in a single instance of Emacs no image file is > converted twice? I think this would only be useful in very few cases; > > Yes. > > for example if the user from my example above decided to review the > directory a second time. I doubt that this is worth the trouble. > > Many icons will be used over and over within one Emacs session. > I think caching within a session is important. As long as the image is not _explicitly_ re-read from disk as in my example and as long as the image descriptor is not garbage collected, this should already be the case. Not even clearing the image cache (I mean the built-in image cache) would cause a second conversion, because the image descriptor contains all image data as a value of the :data attribute. Oliver -- Oliver Scholz 26 Brumaire an 211 de la Révolution Taunusstr. 25 Liberté, Egalité, Fraternité! 60329 Frankfurt a. M. http://www.jungdemokratenhessen.de Tel. (069) 97 40 99 42 http://www.jdjl.org