From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.devel Subject: Re: Shall we use etc/images more? Date: Fri, 16 Sep 2005 11:28:24 +0900 Organization: Emacsen advocacy group Message-ID: References: <14536.1126060623@olgas.newt.com> <20721.1126158478@olgas.newt.com> <3698.1126505253@olgas.newt.com> <878xy0axgf.fsf@stupidchicken.com> <87wtljurw2.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 1126837977 11402 80.91.229.2 (16 Sep 2005 02:32:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Sep 2005 02:32:57 +0000 (UTC) Cc: emacs-devel@gnu.org, "Kim F. Storm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 16 04:32:49 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EG61j-0005hT-L1 for ged-emacs-devel@m.gmane.org; Fri, 16 Sep 2005 04:32:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EG61j-0004gn-28 for ged-emacs-devel@m.gmane.org; Thu, 15 Sep 2005 22:32:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EG60y-0004Xj-SE for emacs-devel@gnu.org; Thu, 15 Sep 2005 22:31:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EG60n-0004T6-Ba for emacs-devel@gnu.org; Thu, 15 Sep 2005 22:31:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EG60n-0004Sd-8l for emacs-devel@gnu.org; Thu, 15 Sep 2005 22:31:37 -0400 Original-Received: from [66.225.201.13] (helo=washington.hostforweb.net) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EG5y5-00072d-AE for emacs-devel@gnu.org; Thu, 15 Sep 2005 22:28:49 -0400 Original-Received: from localhost.servershost.net ([127.0.0.1] helo=localhost) by washington.hostforweb.net with esmtpa (Exim 4.50) id 1EG5yB-0008Eb-KX; Thu, 15 Sep 2005 21:28:55 -0500 Original-To: Chong Yidong X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:b0tOJaSISOb1ZCYqThp1ra0XwCs= X-Hashcash: 1:20:050916:cyd@stupidchicken.com::Rg+m/pJkHxrmThp/:00000000000000000000000000000000000000003Eq1 X-Hashcash: 1:20:050916:storm@cua.dk::1uPQWONTZKxSDxdk:0000013RR X-Hashcash: 1:20:050916:emacs-devel@gnu.org::JLRUOyP5JS4p4GK1:0000000000000000000000000000000000000000000dRf X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: 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:42976 Archived-At: >>>>> In <87wtljurw2.fsf@stupidchicken.com> Chong Yidong wrote: > + (defvar image-load-path > + (list (concat data-directory "images/") data-directory 'load-path) > + "List of locations in which to search for image files. > + If an element is a string, it defines a directory to search. > + If an element is a variable symbol, the value of that variable is > + used as a list of directories to search.") It would be better to use the symbol `data-directory' rather than its value there. It is because some programs, e.g., Gnus, bind the value of `data-directory' when finding image files. It also requires changing of the `image-search-load-path' function. I've changed Gnus in cvs.gnus.org so as to bind `image-load-path' too, though.