From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62255 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 16:58:48 +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 1142409587 5113 80.91.229.2 (15 Mar 2006 07:59:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Mar 2006 07:59:47 +0000 (UTC) Cc: mh-e-devel@lists.sourceforge.net Original-X-From: ding-owner+m10782@lists.math.uh.edu Wed Mar 15 08:59:44 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 1FJQux-0007PU-No for ding-account@gmane.org; Wed, 15 Mar 2006 08:59:41 +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 1FJQus-0001RL-00; Wed, 15 Mar 2006 01:59:34 -0600 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FJQuT-0001RF-00 for ding@lists.math.uh.edu; Wed, 15 Mar 2006 01:59:09 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1FJQuR-0005Zk-Dm for ding@lists.math.uh.edu; Wed, 15 Mar 2006 01:59:09 -0600 Original-Received: from washington.hostforweb.net ([66.225.201.13]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FJQuQ-0001QE-00 for ; Wed, 15 Mar 2006 08:59:06 +0100 Original-Received: from [205.234.185.198] (port=60823 helo=mail.jpl.org) by washington.hostforweb.net with esmtpa (Exim 4.52) id 1FJQuW-0005qY-El; Wed, 15 Mar 2006 01:59:14 -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:cL1h0qeWGXaBLaq5la13G/FX0ZY= X-Hashcash: 1:20:060315:ding@gnus.org::EcXlsdJiJQdYIPFd:00003qAI X-Hashcash: 1:20:060315:mh-e-devel@lists.sourceforge.net::JpZnaueCrMgjV8tL:000000000000000000000000000009jag 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:62255 gmane.mail.mh-e.devel:11986 Archived-At: >>>>> In Katsumi Yamaoka wrote: >> It suggests there's no way that she uses her favorite images instead >> of the ones Emacs provides. > An alternative plan is here: > * gmm-utils.el (gmm-image-load-path-for-library): Look for the > most preferred directory which may be specified in image-load-path > by a user. Oops, we should use `file-truename' to check directories a user added to `image-load-path'. Here's a part in question: [...] (let ((image-load-path (butlast (symbol-value 'image-load-path) (length (member (file-truename (file-name-as-directory image-directory)) (mapcar (lambda (dir) (if (stringp dir) (file-truename (expand-file-name (file-name-as-directory dir))) dir)) (symbol-value 'image-load-path))))))) [...]