From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62073 Path: news.gmane.org!not-for-mail From: Bill Wohler Newsgroups: gmane.emacs.gnus.general,gmane.mail.mh-e.devel Subject: Re: image-load-path/load-path function Date: Thu, 23 Feb 2006 10:13:23 -0800 Organization: Newt Software Message-ID: <16938.1140718403@olgas.newt.com> References: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1140718475 22298 80.91.229.2 (23 Feb 2006 18:14:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Feb 2006 18:14:35 +0000 (UTC) Original-X-From: ding-owner+m10601@lists.math.uh.edu Thu Feb 23 19:14:28 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 1FCKyd-00057x-5I for ding-account@gmane.org; Thu, 23 Feb 2006 19:14:08 +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 1FCKyY-00051r-00; Thu, 23 Feb 2006 12:14:02 -0600 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FCKy5-00051l-00 for ding@lists.math.uh.edu; Thu, 23 Feb 2006 12:13:33 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1FCKy2-0007kp-OC for ding@lists.math.uh.edu; Thu, 23 Feb 2006 12:13:33 -0600 Original-Received: from pop-savannah.atl.sa.earthlink.net ([207.69.195.69]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FCKy1-0003CD-00 for ; Thu, 23 Feb 2006 19:13:29 +0100 Original-Received: from h-68-165-3-145.snvacaid.dynamic.covad.net ([68.165.3.145] helo=olgas.newt.com) by pop-savannah.atl.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1FCKy0-000776-00; Thu, 23 Feb 2006 13:13:28 -0500 Original-Received: by olgas.newt.com (Postfix, from userid 1000) id 61EDC17010; Thu, 23 Feb 2006 10:13:23 -0800 (PST) Original-Received: from olgas.newt.com (localhost [127.0.0.1]) by olgas.newt.com (Postfix) with ESMTP id 5BDCD17004; Thu, 23 Feb 2006 10:13:23 -0800 (PST) Original-To: ding@gnus.org, mh-e-devel@lists.sourceforge.net Mail-Followup-To: ding@gnus.org, mh-e-devel@lists.sourceforge.net In-Reply-To: Reiner Steib's message of Thu, 23 Feb 2006 12:50:38 +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: -2.5 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62073 gmane.mail.mh-e.devel:11739 Archived-At: Reiner Steib wrote: > On Thu, Feb 23 2006, Katsumi Yamaoka wrote: > > > By the way, how about making Gnus be able to start even if icon > > files have not been installed? I'm not sure whether it is > > applicable to MH-E, though. > > In Gnus, `gmm-image-load-path' is used only if `tool-bar-mode' is > bound and non-nil. But maybe a warning is sufficient. I recall some > discussion about the rational for this on the MH-E list, but I can't > find right now. Bill, Peter? We used to create the tool bar icons at load time, but now we create them in our various modes. We create them unconditionally at the moment, but that can be changed easily. I think it is reasonable to proceed if the icons can't be found if tool-bar-mode is nil (since the user might not have any icons installed to save space and run with the tool bar turned off). My first choice would be to throw an error if the icons can't be found and tool-bar-mode is non-nil (or if initially it is nil and later the user turns on the tool bar). My rationale is based upon a philosophy of throwing errors early. The user will get a specific message about the problem rather than later wondering why the tool bar looks strange (and missing a message in the *Messages* buffer which has since scrolled off the top of the buffer). -- 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.