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: Re: About `image-load-path' Date: Fri, 23 Sep 2005 10:47:04 +0200 (CEST) Message-ID: <23183459.1127465224759.JavaMail.www@wwinf0603> 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: quoted-printable X-Trace: sea.gmane.org 1127469648 13944 80.91.229.2 (23 Sep 2005 10:00:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Sep 2005 10:00:48 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 23 12:00:34 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EIkKg-0004Xn-50 for ged-emacs-devel@m.gmane.org; Fri, 23 Sep 2005 11:59:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EIkKf-0004IB-DD for ged-emacs-devel@m.gmane.org; Fri, 23 Sep 2005 05:59:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EIjYy-0007Wt-JJ for emacs-devel@gnu.org; Fri, 23 Sep 2005 05:09:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EIjK4-00062M-6W for emacs-devel@gnu.org; Fri, 23 Sep 2005 04:54:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EIjE0-0005nC-Uk for emacs-devel@gnu.org; Fri, 23 Sep 2005 04:48:13 -0400 Original-Received: from [193.252.22.25] (helo=smtp6.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EIjD1-0006HL-4d for emacs-devel@gnu.org; Fri, 23 Sep 2005 04:47:07 -0400 Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf0612.wanadoo.fr (SMTP Server) with ESMTP id CA5831C000D6 for ; Fri, 23 Sep 2005 10:47:04 +0200 (CEST) Original-Received: from wwinf0603 (wwinf0603 [172.22.137.30]) by mwinf0612.wanadoo.fr (SMTP Server) with ESMTP id BC94C1C000D1; Fri, 23 Sep 2005 10:47:04 +0200 (CEST) X-ME-UUID: 20050923084704772.BC94C1C000D1@mwinf0612.wanadoo.fr Original-To: rms@gnu.org X-Originating-IP: [205.167.7.18] X-Wum-Nature: EMAIL-NATURE X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-CC: |~| 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:43179 Archived-At: Hello, > 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. >=20 > Could you give an example of where you would want to do this > in the code of a library that is part of Emacs? I don't want to change the code of existing libraries. Just to easily use different sets of images. For example, I use a different set of toolbar icons. I just put the new ones (with same names) in a directory in my `load-path' (I have to add 'tool-bar-setup' to `after-init-hook' too to refresh the pre-built `tool-bar-map'), and voil=C3=A0! With the current setting of `image-load-path', if the default toolbar icons are put in etc/images those in my `load-path' will be ignored. To take them into account again, I'll have to change the default value of `image-load-path' in my init file to search the `load-path' first, or to add it my own image directory. That's why I suggested to at least make `image-load-path' customizable. Anyway no problem for me ;-) Sincerely, David