From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62058 Path: news.gmane.org!not-for-mail From: Bill Wohler Newsgroups: gmane.emacs.gnus.general,gmane.mail.mh-e.devel Subject: Re: Sharing mail icons between MH-E and Gnus Date: Tue, 21 Feb 2006 14:29:56 -0800 Organization: Newt Software Message-ID: <32290.1140560996@olgas.newt.com> References: <28928.1129483226@olgas.newt.com> <30678.1129563148@olgas.newt.com> <16231.1140316818@olgas.newt.com> <6909.1140475990@olgas.newt.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1140561070 19834 80.91.229.2 (21 Feb 2006 22:31:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Feb 2006 22:31:10 +0000 (UTC) Original-X-From: ding-owner+m10586@lists.math.uh.edu Tue Feb 21 23:31:06 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 1FBg2A-0007w8-37 for ding-account@gmane.org; Tue, 21 Feb 2006 23:31:02 +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 1FBg1v-0002CY-00; Tue, 21 Feb 2006 16:30:47 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FBg1N-0002CT-00 for ding@lists.math.uh.edu; Tue, 21 Feb 2006 16:30:13 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1FBg1M-0007MA-6b for ding@lists.math.uh.edu; Tue, 21 Feb 2006 16:30:13 -0600 Original-Received: from 231.70-85-162.reverse.theplanet.com ([70.85.162.231] helo=tassie.newt.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FBg1K-0001Uc-00 for ; Tue, 21 Feb 2006 23:30:10 +0100 Original-Received: from olgas.newt.com (m190e36d0.tmodns.net [208.54.14.25]) by tassie.newt.com (Postfix) with ESMTP id 7D4E21D0A9E; Tue, 21 Feb 2006 14:27:24 -0800 (PST) Original-Received: by olgas.newt.com (Postfix, from userid 1000) id 64ED417010; Tue, 21 Feb 2006 14:29:56 -0800 (PST) Original-Received: from olgas.newt.com (localhost [127.0.0.1]) by olgas.newt.com (Postfix) with ESMTP id 58F2B16FA8; Tue, 21 Feb 2006 14:29:56 -0800 (PST) Original-To: mh-e-devel@lists.sourceforge.net, ding@gnus.org Mail-Followup-To: mh-e-devel@lists.sourceforge.net, ding@gnus.org In-Reply-To: Reiner Steib's message of Tue, 21 Feb 2006 22:22:35 +0100. X-Mailer: MH-E 7.92+cvs; nmh 1.1; GNU Emacs 22.0.50.7 X-Image-URL: http://www.newt.com/wohler/images/bill-diving.png X-Spam-Score: -1.6 (-) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62058 gmane.mail.mh-e.devel:11723 Archived-At: Reiner Steib wrote: > On Mon, Feb 20 2006, Bill Wohler wrote: > > > Reiner Steib wrote: > > > >> I don't like that `mh-image-load-path' changes the variables > >> `load-path' or `image-load-path'. > > > > I'm not sure I agree. Taking this argument to an extreme conclusion, > > both load-path and image-load-path would always be empty. Leaving the > > path to our images on these paths makes it more clear to the user (or > > developer) where the images came from, if that needs to be discovered. > > `C-h v tool-bar RET' displays stuff like this for me: > > (Preview menu-item "Preview" mml-preview > ([3 13 80] > . " (C-c RET P)") > :image > (image :type xpm :file "[...]/emacs/etc/images/mail/preview.xpm")) Cool! > > And what if the user adds his own images to image-load-path (if he > > defined a theme, if you will) and expects to see his images rather than > > yours? Since you didn't leave your path on the image-load-path, he would > > be confused since he wouldn't see where they came from. > > I though that the variable `gmm-image-load-path' (or > mh-image-load-path) is intended for this. > > BTW, if you/we call it *-path it should be a list (else: *-directory). Thanks. Good thinking. > > Hmmm, this argues that we would want prepend the default Emacs path > > (since a newer Gnus/MH-E package might have newer images than the one > > distributed with an old version of Emacs) and append to any user-defined > > paths (since the user is always right). Is that possible? > > - We (or `image.el') could use an additional `*-user-image-load-path' > and always prepend this. Hmmm, that might work. -- 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.