From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62131 Path: news.gmane.org!not-for-mail From: Bill Wohler Newsgroups: gmane.emacs.gnus.general,gmane.mail.mh-e.devel Subject: Re: image-load-path/load-path function Date: Thu, 02 Mar 2006 12:30:13 -0800 Organization: Newt Software Message-ID: <12647.1141331413@olgas.newt.com> References: <17903.1141256030@olgas.newt.com> <19737.1141261645@olgas.newt.com> <4021.1141273863@mixed> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1141332321 11228 80.91.229.2 (2 Mar 2006 20:45:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Mar 2006 20:45:21 +0000 (UTC) Original-X-From: ding-owner+m10659@lists.math.uh.edu Thu Mar 02 21:45:19 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FEuei-0004qn-Gs for ding-account@gmane.org; Thu, 02 Mar 2006 21:44:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FEueZ-0001Ce-00; Thu, 02 Mar 2006 14:44:03 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FEuRM-0001CP-00 for ding@lists.math.uh.edu; Thu, 02 Mar 2006 14:30:24 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1FEuRH-0003Sy-WE for ding@lists.math.uh.edu; Thu, 02 Mar 2006 14:30:24 -0600 Original-Received: from tassie.newt.com ([70.85.162.231]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FEuRG-00007P-00 for ; Thu, 02 Mar 2006 21:30:19 +0100 Original-Received: from olgas.newt.com (m110e36d0.tmodns.net [208.54.14.17]) by tassie.newt.com (Postfix) with ESMTP id 6C0931D0AB6; Thu, 2 Mar 2006 12:27:13 -0800 (PST) Original-Received: by olgas.newt.com (Postfix, from userid 1000) id 80A0E1717A; Thu, 2 Mar 2006 12:30:13 -0800 (PST) Original-Received: from olgas.newt.com (localhost [127.0.0.1]) by olgas.newt.com (Postfix) with ESMTP id 67E3616F9B; Thu, 2 Mar 2006 12:30:13 -0800 (PST) Original-To: ding@gnus.org, mh-e-devel@lists.sourceforge.net In-reply-to: Comments: In-reply-to Reiner Steib message dated "Thu, 02 Mar 2006 18:13:16 +0100." X-Mailer: MH-E 7.92+cvs; nmh 1.1; GNU Emacs 22.0.50.7 X-Image-URL: http://www.newt.com/wohler/images/bill-diving.png Mail-Followup-To: mh-e-devel@lists.sourceforge.net, ding@gnus.org X-Spam-Score: -2.3 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62131 gmane.mail.mh-e.devel:11820 Archived-At: Reiner Steib wrote: > >> If this seems OK to everyone, I'll make *-image-directory a local > >> variable within *-image-load-path. > > A _minor_ disadvantage is that the library&image search will be > performed on each call of the function `*-image-load-path'. Ah, now I see why you removed *-image-load-path-called: you were using *-image-directory for that purpose. If the global were preserved in image.el, I think it would have to be an alist mapping LIBRARY to the related image directory. Maybe this would be more complication than needed since it would only save a call to locate-library and file-exists-p. If calls to *-image-load-path are not in a tight loop--indeed, in MH-E it is only called twice--I'm thinking that we might not worry unless it becomes a problem. Would that be the consensus? -- Bill Wohler http://www.newt.com/wohler/ GnuPG ID:610BD9AD Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian! If you're passed on the right, you're in the wrong lane.