From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62245 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.mail.mh-e.devel,gmane.emacs.gnus.general Subject: Re: New GNOME icons Date: Tue, 14 Mar 2006 22:00:14 +0100 Message-ID: References: <20403.1141690692@olgas.newt.com> <3861.1142268982@olgas.newt.com> <22907.1142318606@olgas.newt.com> <3669.1142364565@olgas.newt.com> Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142371036 21707 80.91.229.2 (14 Mar 2006 21:17:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Mar 2006 21:17:16 +0000 (UTC) Cc: ding@gnus.org Original-X-From: mh-e-devel-admin@lists.sourceforge.net Tue Mar 14 22:17:10 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 1FJGpD-0006EP-1T for gmmd-mh-e-devel@m.gmane.org; Tue, 14 Mar 2006 22:13:04 +0100 Original-Received: from sc8-sf-list1-b.sourceforge.net (sc8-sf-list1-b.sourceforge.net [10.3.1.7]) by sc8-sf-spam1.sourceforge.net (Postfix) with ESMTP id 2EFBF89658; Tue, 14 Mar 2006 13:13:02 -0800 (PST) Original-Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FJGoi-000166-93 for mh-e-devel@lists.sourceforge.net; Tue, 14 Mar 2006 13:12:32 -0800 Original-Received: from mail.uni-ulm.de ([134.60.1.1]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FJGog-0000on-1f for mh-e-devel@lists.sourceforge.net; Tue, 14 Mar 2006 13:12:32 -0800 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by mail.uni-ulm.de (8.13.4/8.13.4) with ESMTP id k2ELCKAM007991; Tue, 14 Mar 2006 22:12:20 +0100 (MET) Original-Received: from viandante.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by bridgekeeper.physik.uni-ulm.de (Postfix) with SMTP id 290EF11403; Tue, 14 Mar 2006 22:12:18 +0100 (CET) Original-Received: (nullmailer pid 10013 invoked by uid 170); Tue, 14 Mar 2006 21:00:15 -0000 Original-To: mh-e-devel@lists.sourceforge.net Mail-Followup-To: mh-e-devel@lists.sourceforge.net, ding@gnus.org X-Face: /U7=m^"/-Dn61mAl{g9e3>\G5Tp,oEX|V)g2I1hBk\ML;)7A?6cmB-y7y?'NA^J<=oz7syB =(McAwIHgLX!.B?R3X}98d@?>CrT094KLWh]WU4gDpnL/")MS(XoQTv`Oq225uL>+;CpPXo$N5e>N> $tPd-gbB^F{gQS#1ase]XO~D4p4M"3+F-7~u]dy3I?Pb8RO*H-EFeWDUf?Rf,d]pv\Jvh2Cht!A=im yKAS2Z%Ao^;}W/qzMvMm In-Reply-To: <3669.1142364565@olgas.newt.com> (Bill Wohler's message of "Tue, 14 Mar 2006 11:29:25 -0800") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-DCC-SIHOPE-DCC-3-Metrics: gemini 1085; Body=2 Fuz1=2 Fuz2=2 X-Spam-Score: 0.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 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 22:00:14 +0100 Xref: news.gmane.org gmane.mail.mh-e.devel:11978 gmane.emacs.gnus.general:62245 Archived-At: On Tue, Mar 14 2006, Bill Wohler wrote: > Thanks. I've committed the updated image-load-path-for-library I've seen your changes on emacs-diffs: ,---- | ;; Avoid errors on Emacsen without `image-load-path'. | (if (not (boundp 'image-load-path)) (defvar image-load-path nil)) `---- Please don't recommend to bind `image-load-path'. Other packages might test if `image-load-path' is bound only in Emacs versions that really use it: ,---- | ELISP> (if (not (boundp 'image-load-path)) (defvar image-load-path nil)) | | image-load-path | ELISP> (boundp 'image-load-path) | t `---- I'd suggest the following where the `image-load-path' won't be bound outside the let expression. (let* ((load-path (image-load-path-for-library "mh-e" "mh-logo.xpm")) (image-load-path (cons (car load-path) (when (boundp 'image-load-path) image-load-path)))) (mh-tool-bar-folder-buttons-init)) ,---- | ELISP> emacs-version | "21.3.1" | ELISP> (boundp 'image-load-path) | nil | ELISP> (defun image-load-path-for-library (&rest ignore) | load-path) | image-load-path-for-library | ELISP> (let* ((load-path (image-load-path-for-library "mh-e" "mh-logo.xpm")) | (image-load-path (cons (car load-path) | (when (boundp 'image-load-path) | image-load-path)))) | image-load-path) | ("/usr/share/emacs/site-lisp/xslide") | | ELISP> (boundp 'image-load-path) | nil `---- Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/ ------------------------------------------------------- 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