From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62125 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.mail.mh-e.devel,gmane.emacs.gnus.general Subject: Re: image-load-path/load-path function Date: Thu, 02 Mar 2006 17:59:41 +0100 Message-ID: References: <17903.1141256030@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 1141319025 27944 80.91.229.2 (2 Mar 2006 17:03:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Mar 2006 17:03:45 +0000 (UTC) Cc: ding@gnus.org Original-X-From: mh-e-devel-admin@lists.sourceforge.net Thu Mar 02 18:03:36 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 1FErCU-0000ZA-0m for gmmd-mh-e-devel@m.gmane.org; Thu, 02 Mar 2006 18:02:51 +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 275F213B26; Thu, 2 Mar 2006 09:02:49 -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 1FEr9f-0002tt-KI for mh-e-devel@lists.sourceforge.net; Thu, 02 Mar 2006 08:59:55 -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 1FEr9a-0005uX-Ng for mh-e-devel@lists.sourceforge.net; Thu, 02 Mar 2006 08:59:55 -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 k22Gxf87006238; Thu, 2 Mar 2006 17:59:41 +0100 (MET) Original-Received: by bridgekeeper.physik.uni-ulm.de (Postfix, from userid 170) id 653DA11356; Thu, 2 Mar 2006 17:59:41 +0100 (CET) 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 User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-DCC-sonic.net-Metrics: gemini 1156; 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: Thu, 02 Mar 2006 17:59:41 +0100 Xref: news.gmane.org gmane.mail.mh-e.devel:11816 gmane.emacs.gnus.general:62125 Archived-At: On Thu, Mar 02 2006, Bill Wohler wrote: > I'll work on porting your posted version back to MH-E so that they > will be as close together as possible. If you've changed it since > your post last Wednesday, please let me know I've also renamed -path to -directory. Here are the recent changes: ,---- | revision 7.17 | date: 2006/03/02 16:56:29; author: rsteib; state: Exp; lines: +3 -3 | * gmm-utils.el (gmm-image-load-path): Mention ../etc search in doc | string. | [...] | ---------------------------- | revision 7.15 | date: 2006/03/01 16:51:17; author: rsteib; state: Exp; lines: +34 -15 | [...] | | * gmm-utils.el (gmm-image-directory): Rename variable from | gmm-image-load-path. | (gmm-image-load-path): Use gmm-image-directory. | [...] | ---------------------------- | revision 7.13 | date: 2006/02/23 13:19:13; author: yamaoka; state: Exp; lines: +6 -4 | (gmm-image-load-path): Don't modify image-load-path and load-path. | ---------------------------- | revision 7.12 | date: 2006/02/22 14:45:52; author: rsteib; state: Exp; lines: +14 -5 | [...] | | * gmm-utils.el (gmm-image-load-path): Also search in | "../etc/images". Don't set gmm-image-load-path if we don't find | the image. `---- > (maybe sending me the URL to the file in your repository might be a > good idea, I'd recommend to check out `gmm-utils.el' from cvs: $ cvs -d :pserver:gnus@cvs.gnus.org:/usr/local/cvsroot login CVS password: gnus $ cvs -d :pserver:gnus@cvs.gnus.org:/usr/local/cvsroot checkout gnus/lisp/gmm-utils.el (cf. http://www.gnus.org/distribution.html) There's also a cvsweb thingie, but when starting from the "(download)" links don't work ATM. You need to replace "/~checkout/~gnus/" with "/~checkout~gnus/" (delete the "/"): http://quimby.gnus.org/cgi-bin/cvsweb.cgi/~checkout~gnus/lisp/gmm-utils.el?content-type=text/plain The diff functionality seems to work. But of course I'd prefer to use Emacs' version control facilities. :-) [ From a later post...] On Thu, Mar 02 2006, Peter S Galbraith wrote: > Bill Wohler wrote: > >> Since it was Peter and Debian which suggested the use of this variable >> in the first place, and now that the function checks both load-path and >> image-load-path for the library's images, I'd like to ask Peter if it >> would be OK to change the line in emacsen-startup: >> >> (setq mh-image-directory "/usr/share/emacs/site-lisp/etc/images/mh-e") >> >> to >> >> (if (boundp 'image-load-path) >> (add-to-list 'image-load-path >> "/usr/share/emacs/site-lisp/etc/images/mh-e") >> (add-to-list 'load-path "/usr/share/emacs/site-lisp/etc/images/mh-e")) >> >> Is this called late enough so that >> /usr/share/emacs/site-lisp/etc/images/mh-e would be placed in front of >> the standard images directory? > > Yes it would be. I can do that for the next release. 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