From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David PONCE Newsgroups: gmane.emacs.devel Subject: About `image-load-path' Date: Thu, 22 Sep 2005 10:44:42 +0200 (CEST) Message-ID: <2007603.1127378682028.JavaMail.www@wwinf1102> Reply-To: david.ponce@wanadoo.fr NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1127381930 24369 80.91.229.2 (22 Sep 2005 09:38:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Sep 2005 09:38:50 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 22 11:38:47 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EINVz-00013z-Ne for ged-emacs-devel@m.gmane.org; Thu, 22 Sep 2005 11:37:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EINVy-0002yH-RR for ged-emacs-devel@m.gmane.org; Thu, 22 Sep 2005 05:37:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EIN3q-0000hu-0h for emacs-devel@gnu.org; Thu, 22 Sep 2005 05:08:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EIN3O-0000cN-Of for emacs-devel@gnu.org; Thu, 22 Sep 2005 05:08:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EIMyX-0008II-9D for emacs-devel@gnu.org; Thu, 22 Sep 2005 05:02:43 -0400 Original-Received: from [193.252.22.31] (helo=smtp11.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EIMhA-0000wP-Ga for emacs-devel@gnu.org; Thu, 22 Sep 2005 04:44:44 -0400 Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf1101.wanadoo.fr (SMTP Server) with ESMTP id 177A81C00067 for ; Thu, 22 Sep 2005 10:44:42 +0200 (CEST) Original-Received: from wwinf1102 (wwinf1102 [172.22.142.29]) by mwinf1101.wanadoo.fr (SMTP Server) with ESMTP id 09FA41C00065 for ; Thu, 22 Sep 2005 10:44:42 +0200 (CEST) X-ME-UUID: 20050922084442410.09FA41C00065@mwinf1101.wanadoo.fr Original-To: emacs-devel@gnu.org X-Originating-IP: [205.167.7.18] X-Wum-Nature: EMAIL-NATURE X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-REPLYTO: |~| 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:43149 Archived-At: Hello, In image.el the new variable `image-load-path' is set to: (list (file-name-as-directory (expand-file-name "images" data-directory)) 'data-directory 'load-path) 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? (list 'load-path (file-name-as-directory (expand-file-name "images" data-directory)) 'data-directory) Sincerely, David