From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62198 Path: news.gmane.org!not-for-mail From: Bill Wohler Newsgroups: gmane.emacs.devel,gmane.mail.mh-e.devel,gmane.emacs.gnus.general Subject: Re: Modifying image-load-path/load-path Date: Fri, 10 Mar 2006 15:09:36 -0800 Organization: Newt Software Message-ID: <87r759vqvj.fsf@olgas.newt.com> References: <7620.1140477119@olgas.newt.com> <878xrzm20y.fsf@stupidchicken.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142032265 4753 80.91.229.2 (10 Mar 2006 23:11:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Mar 2006 23:11:05 +0000 (UTC) Cc: mh-e-devel@lists.sourceforge.net, ding@gnus.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 11 00:11:02 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FHqku-00053l-Qx for ged-emacs-devel@m.gmane.org; Sat, 11 Mar 2006 00:10:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FHqkt-0005gb-Hf for ged-emacs-devel@m.gmane.org; Fri, 10 Mar 2006 18:10:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FHqki-0005gM-BU for emacs-devel@gnu.org; Fri, 10 Mar 2006 18:10:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FHqkg-0005b8-V9 for emacs-devel@gnu.org; Fri, 10 Mar 2006 18:10:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FHqkg-0005ar-MR for emacs-devel@gnu.org; Fri, 10 Mar 2006 18:10:30 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FHqo4-0003Wo-JA for emacs-devel@gnu.org; Fri, 10 Mar 2006 18:14:00 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FHqka-0004z7-RF for emacs-devel@gnu.org; Sat, 11 Mar 2006 00:10:25 +0100 Original-Received: from adsl-69-236-184-35.dsl.pltn13.pacbell.net ([69.236.184.35]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Mar 2006 00:10:24 +0100 Original-Received: from wohler by adsl-69-236-184-35.dsl.pltn13.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Mar 2006 00:10:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 28 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-236-184-35.dsl.pltn13.pacbell.net User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:QNUMvJbdnB1MrUYI68XZYZsk2Xc= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:51445 gmane.mail.mh-e.devel:11918 gmane.emacs.gnus.general:62198 Archived-At: Chong Yidong writes: > Bill Wohler writes: > >> We are also working to replace redundant code for locating our packages' >> images and updating image-load-path (load-path in Emacs 21) with a >> single function in image.el. >> >> Our question for you is this: should such a function actually modify the >> image-load-path (as MH-E does now), or simply return a modified version >> of image-load-path for use in a scoped variable copy of image-load-path >> (as Gnus does now)? > > IMO, using a scoped copy is cleaner. Is there any reason to modify > the image-load-path permanently? Thanks, Chong. I'm surprised you were the only one who replied. Since both you and the Gnus project leaned towards a scoped variable, I took that approach and checked in image-load-path-for-library just now. Reiner, if you haven't done so already, it would be good to deprecate/replace calls to mm-image-load-path and possibly nnheader-find-etc-directory too. -- 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.