From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62251 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general,gmane.mail.mh-e.devel Subject: Re: New GNOME icons Date: Wed, 15 Mar 2006 10:49:38 +0900 Organization: Emacsen advocacy group Message-ID: References: <20403.1141690692@olgas.newt.com> <3861.1142268982@olgas.newt.com> <22907.1142318606@olgas.newt.com> <1183.1142359136@olgas.newt.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142387412 6240 80.91.229.2 (15 Mar 2006 01:50:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Mar 2006 01:50:12 +0000 (UTC) Cc: mh-e-devel@lists.sourceforge.net Original-X-From: ding-owner+m10778@lists.math.uh.edu Wed Mar 15 02:50:09 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FJL9M-0004dD-Je for ding-account@gmane.org; Wed, 15 Mar 2006 02:50:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FJL9I-00011a-00; Tue, 14 Mar 2006 19:50:04 -0600 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FJL95-00011V-00 for ding@lists.math.uh.edu; Tue, 14 Mar 2006 19:49:51 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1FJL93-0003g2-3A for ding@lists.math.uh.edu; Tue, 14 Mar 2006 19:49:51 -0600 Original-Received: from washington.hostforweb.net ([66.225.201.13]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FJL92-0004kD-00 for ; Wed, 15 Mar 2006 02:49:48 +0100 Original-Received: from [205.234.185.198] (port=34977 helo=mail.jpl.org) by washington.hostforweb.net with esmtpa (Exim 4.52) id 1FJL94-0001DB-Rq; Tue, 14 Mar 2006 19:49:51 -0600 Original-To: ding@gnus.org 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:V2CBifZetO8YertmODO5EMSjbaw= X-Hashcash: 1:20:060315:ding@gnus.org::N7kUqBd9fdlrkrHP:00007TAE X-Hashcash: 1:20:060315:mh-e-devel@lists.sourceforge.net::dkopRumLxV8Gdhc6:00000000000000000000000000000CUX2 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 - gnus.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-Spam-Score: -2.5 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62251 gmane.mail.mh-e.devel:11984 Archived-At: >>>>> In <1183.1142359136@olgas.newt.com> Bill Wohler wrote: > Katsumi Yamaoka wrote: [...] >> My doubt is that there seems to be no way to tell the >> `(gmm-)image-load-path-for-library' function that my image files >> are in "/usr/local/share/emacs/etc/images/". Of course, it is >> not a matter since Emacs provides new image files now, though. > Just add your directory to image-load-path (or load-path if > image-load-path isn't bound) before calling the function and it will be > found, assuming that the image passed to image-load-path-for-library is > in your directory. This is what the Debian MH-E package does in its > site-init. I exactly did so. However, `image-load-path-for-library' doesn't take notice of "/usr/local/share/emacs/etc/images/gnus/toggle-subscription.xpm" if "/usr/local/share/emacs/22.0.50/etc/images/gnus/toggle-subscription.xpm" exists. It suggests there's no way that she uses her favorite images instead of the ones Emacs provides. image-load-path => ("/usr/local/share/emacs/etc/images/" "/usr/local/share/emacs/22.0.50/etc/images/" data-directory load-path) (file-exists-p "/usr/local/share/emacs/etc/images/gnus/toggle-subscription.xpm") => t (file-exists-p "/usr/local/share/emacs/22.0.50/etc/images/gnus/toggle-subscription.xpm") => t (let ((dirs (image-load-path-for-library "gnus" "gnus/toggle-subscription.xpm" nil t))) (or (member "/usr/local/share/emacs/etc/images/" dirs) (member "/usr/local/share/emacs/etc/images" dirs))) => nil