From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: XPM via Lisp in the toolbar Date: Sat, 16 Nov 2002 09:51:55 -0500 Sender: emacs-devel-admin@gnu.org Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1037459244 1803 80.91.224.249 (16 Nov 2002 15:07:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 16 Nov 2002 15:07:24 +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 18D4Xa-0000Sw-00 for ; Sat, 16 Nov 2002 16:07:22 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18D4kz-0002t7-00 for ; Sat, 16 Nov 2002 16:21:14 +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 18D4Xi-0002xs-00; Sat, 16 Nov 2002 10:07:31 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18D4Ii-0004Vr-00 for emacs-devel@gnu.org; Sat, 16 Nov 2002 09:52:00 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18D4Ie-0004V0-00 for emacs-devel@gnu.org; Sat, 16 Nov 2002 09:51:58 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10) id 18D4Id-0004UZ-00 for emacs-devel@gnu.org; Sat, 16 Nov 2002 09:51:55 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18D4Id-0001PO-00; Sat, 16 Nov 2002 09:51:55 -0500 Original-To: alkibiades@gmx.de In-reply-to: (alkibiades@gmx.de) 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:9482 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9482 > Why not add the caching feature in your conversion library? > Then it would apply to anything that tries to display XPM > and works via conversion. Hmm. I would do it. I hesitate only, because this would mean that *every* XPM image viewed within an Emacs buffer would be stored as a PBM/PGN/PPM file on the disk. I would expect the cache to be within Emacs only. If we wanted to have copies on disk, we may as well include them in the Emacs distribution as we do now. 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.