From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62132 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.mail.mh-e.devel,gmane.emacs.gnus.general Subject: Re: image-load-path/load-path function Date: Thu, 02 Mar 2006 23:05:02 +0100 Message-ID: References: <17903.1141256030@olgas.newt.com> <19737.1141261645@olgas.newt.com> <4021.1141273863@mixed> <12647.1141331413@olgas.newt.com> Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1141337166 29887 80.91.229.2 (2 Mar 2006 22:06:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Mar 2006 22:06:06 +0000 (UTC) Cc: ding@gnus.org Original-X-From: mh-e-devel-admin@lists.sourceforge.net Thu Mar 02 23:06:04 2006 Return-path: Envelope-to: gmmd-mh-e-devel@m.gmane.org Original-Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FEvvt-0006iL-45 for gmmd-mh-e-devel@m.gmane.org; Thu, 02 Mar 2006 23:06:01 +0100 Original-Received: from sc8-sf-list1-b.sourceforge.net (sc8-sf-list1-b.sourceforge.net [10.3.1.7]) by sc8-sf-spam2.sourceforge.net (Postfix) with ESMTP id 612E013AAC; Thu, 2 Mar 2006 14:06:00 -0800 (PST) Original-Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FEvvF-0002z8-K2 for mh-e-devel@lists.sourceforge.net; Thu, 02 Mar 2006 14:05:21 -0800 Original-Received: from mail.uni-ulm.de ([134.60.1.1]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FEvvE-0000XS-1b for mh-e-devel@lists.sourceforge.net; Thu, 02 Mar 2006 14:05:21 -0800 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by mail.uni-ulm.de (8.13.4/8.13.4) with ESMTP id k22M52dD029749; Thu, 2 Mar 2006 23:05:03 +0100 (MET) Original-Received: by bridgekeeper.physik.uni-ulm.de (Postfix, from userid 170) id A7EE31108F; Thu, 2 Mar 2006 23:05:02 +0100 (CET) Original-To: mh-e-devel@lists.sourceforge.net Mail-Followup-To: mh-e-devel@lists.sourceforge.net, ding@gnus.org X-Face: #vK]N[`vqjuod*|)'[iD7/"3AB-ApT%fmN"LWAg@oS7OesGv~)n[OBTLM#I="J'Y^-7I I/ps7o_'IK@#-Rs{::DZ@O8yS|fexe,XslY[:dNWOb~>?mC-&i_c)say:"\IpA.5U.b]'NY;Pks{lb h.+#6%DpZuaK3dcHB`Av3zc:r!C%~s0&m,tWj]&},qg.+0ww2gK%f!:GK|wMl.I!(voY*1"^li8"~B BNG)9LvPi?^DMR-GVDnZqhu*3Hi,+g=wFhI)BL6&u{EOVEHjVEVq~d?_}lMntWAc3(6?kftjc>_f>! g0wM(qPM$d5]^TT_Qyi&L?LGVG)SHN;Gk/,pkY9,~ In-Reply-To: <12647.1141331413@olgas.newt.com> (Bill Wohler's message of "Thu, 02 Mar 2006 12:30:13 -0800") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-DCC-MessageCare-Metrics: gemini 1108; Body=2 Fuz1=2 Fuz2=2 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Original-Sender: mh-e-devel-admin@lists.sourceforge.net Errors-To: mh-e-devel-admin@lists.sourceforge.net X-BeenThere: mh-e-devel@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: Forum for the MH-E developers List-Post: List-Help: List-Subscribe: , List-Archive: X-Original-Date: Thu, 02 Mar 2006 23:05:02 +0100 Xref: news.gmane.org gmane.mail.mh-e.devel:11821 gmane.emacs.gnus.general:62132 Archived-At: On Thu, Mar 02 2006, Bill Wohler wrote: > Reiner Steib wrote: [...] >> 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. ... and I already had forgotten that you had an extra variable for that. ;-) > 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? I agree. FWIW: In Gnus it's called more often (twice for each mode initialization; modes: group, summary and message). Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642