From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: About `image-load-path' Date: Thu, 22 Sep 2005 20:17:24 -0400 Message-ID: <87zmq463jf.fsf@stupidchicken.com> References: <11424103.1127388503810.JavaMail.www@wwinf1604> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1127393606 27971 80.91.229.2 (22 Sep 2005 12:53:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Sep 2005 12:53:26 +0000 (UTC) Cc: emacs-devel@gnu.org, storm@cua.dk Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 22 14:53:23 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EIQYR-0005f9-PA for ged-emacs-devel@m.gmane.org; Thu, 22 Sep 2005 14:52:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EIQYQ-0006Xl-To for ged-emacs-devel@m.gmane.org; Thu, 22 Sep 2005 08:51:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EIQ9w-00044e-0w for emacs-devel@gnu.org; Thu, 22 Sep 2005 08:26:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EIQ9s-000447-Qp for emacs-devel@gnu.org; Thu, 22 Sep 2005 08:26:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EIQ7J-0002Yc-6F for emacs-devel@gnu.org; Thu, 22 Sep 2005 08:23:57 -0400 Original-Received: from [18.95.6.171] (helo=localhost.localdomain) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EIQ10-00015M-PW for emacs-devel@gnu.org; Thu, 22 Sep 2005 08:17:27 -0400 Original-Received: by localhost.localdomain (Postfix, from userid 1000) id 102891E41D4; Thu, 22 Sep 2005 20:17:24 -0400 (EDT) Original-To: david.ponce@wanadoo.fr In-Reply-To: <11424103.1127388503810.JavaMail.www@wwinf1604> (David PONCE's message of "Thu, 22 Sep 2005 13:28:23 +0200 (CEST)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:43155 Archived-At: David PONCE writes: >>>So images are first searched in the Emacs data directory which is an >>>installation dependent directory. Wouldn't it be more relevant to >>>search in `load-path' first so it would be easier to overload standard >>>images? >> >> >> Can't you just your local directory to image-load-path ? > > Yes it makes sense to let-bind `image-load-path' in my own code but it > is not so easy for libraries which are part of Emacs for example. Libraries that are part of Emacs ought to put the images in etc/images.