From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62241 Path: news.gmane.org!not-for-mail From: Bill Wohler Newsgroups: gmane.mail.mh-e.devel,gmane.emacs.gnus.general Subject: Re: New GNOME icons Date: Tue, 14 Mar 2006 09:58:56 -0800 Organization: Newt Software Message-ID: <1183.1142359136@olgas.newt.com> References: <20403.1141690692@olgas.newt.com> <3861.1142268982@olgas.newt.com> <22907.1142318606@olgas.newt.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1142359470 9041 80.91.229.2 (14 Mar 2006 18:04:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Mar 2006 18:04:30 +0000 (UTC) Cc: ding@gnus.org, mh-e-devel@lists.sourceforge.net Original-X-From: mh-e-devel-admin@lists.sourceforge.net Tue Mar 14 19:04:25 2006 Return-path: Envelope-to: gmmd-mh-e-devel@m.gmane.org Original-Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FJDoQ-0005cz-97 for gmmd-mh-e-devel@m.gmane.org; Tue, 14 Mar 2006 19:00:03 +0100 Original-Received: from sc8-sf-list1-b.sourceforge.net (sc8-sf-list1-b.sourceforge.net [10.3.1.7]) by sc8-sf-spam2.sourceforge.net (Postfix) with ESMTP id 851D512228; Tue, 14 Mar 2006 10:00:01 -0800 (PST) Original-Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FJDnS-000585-QK for mh-e-devel@lists.sourceforge.net; Tue, 14 Mar 2006 09:59:02 -0800 Original-Received: from pop-siberian.atl.sa.earthlink.net ([207.69.195.71]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FJDnQ-0005vu-Hg for mh-e-devel@lists.sourceforge.net; Tue, 14 Mar 2006 09:59:03 -0800 Original-Received: from h-68-165-5-58.snvacaid.dynamic.covad.net ([68.165.5.58] helo=olgas.newt.com) by pop-siberian.atl.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1FJDnN-0003tu-00; Tue, 14 Mar 2006 12:58:57 -0500 Original-Received: by olgas.newt.com (Postfix, from userid 1000) id B85FC1707E; Tue, 14 Mar 2006 09:58:56 -0800 (PST) Original-Received: from olgas.newt.com (localhost [127.0.0.1]) by olgas.newt.com (Postfix) with ESMTP id B657C16FB0; Tue, 14 Mar 2006 09:58:56 -0800 (PST) Original-To: Katsumi Yamaoka In-reply-to: Comments: In-reply-to Katsumi Yamaoka message dated "Tue, 14 Mar 2006 20:57:30 +0900." X-Mailer: MH-E 7.93+cvs; nmh 1.1; GNU Emacs 22.0.50.14 X-Image-URL: http://www.newt.com/wohler/images/bill-diving.png Mail-Followup-To: mh-e-devel@lists.sourceforge.net, ding@gnus.org X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Original-Sender: mh-e-devel-admin@lists.sourceforge.net Errors-To: mh-e-devel-admin@lists.sourceforge.net X-BeenThere: mh-e-devel@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: Forum for the MH-E developers List-Post: List-Help: List-Subscribe: , List-Archive: X-Original-Date: Tue, 14 Mar 2006 09:58:56 -0800 Xref: news.gmane.org gmane.mail.mh-e.devel:11975 gmane.emacs.gnus.general:62241 Archived-At: Katsumi Yamaoka wrote: > >>>>> In <22907.1142318606@olgas.newt.com> Bill Wohler wrote: > > > By the way, Richard had a few comments about our > > image-load-path-for-library function. He didn't like that "path" was a > > symbol. He preferred to pass the value. Also, he didn't like it that we > > weren't always returning a list, such as when "path" was t. I think he's > > right. Indeed, fixing these things simplified the final cond to just: > > > (nconc (list image-directory) > > (delete image-directory (copy-sequence (or path load-path)))))) > > > Note that we now document that the directory is first, so the "path == > > t" feature can be achieved with (car (image-load-path-for-library ...)). > > > I've made the changes that Richard suggested, but I'd like to get > > confirmation from you folks that they are OK with you too before > > committing them. At that time, you can copy the changes from > > image-load-path-for-library into gmm-image-load-path-for-library and > > remove your changes to gmm-defun-compat. > > Well, I have currently no idea about that since I didn't follow > the whole story. But I have an unsophisticated doubt. > > When Emacs didn't have new image files, I programmed my shell > script which builds and installs Gnus so that it installs image > files to the "/usr/local/share/emacs/etc/images/" directory, and > I added it to `image-load-path' as the first element. The > reason I did so is I don't want to modify image files that Emacs > provides though I want Gnus to display new icon images. > > (The default directory in which Emacs' image files are > installed is "/usr/local/share/emacs/VERSION/etc/images/". > Normally Emacs doesn't care "/usr/local/share/emacs/etc/images/" > which I made.) > > 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. -- Bill Wohler http://www.newt.com/wohler/ GnuPG ID:610BD9AD Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian! If you're passed on the right, you're in the wrong lane. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642