From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62216 Path: news.gmane.org!not-for-mail From: Bill Wohler Newsgroups: gmane.mail.mh-e.devel,gmane.emacs.gnus.general Subject: Re: *image-load-path-for-library update Date: Sat, 11 Mar 2006 17:43:09 -0800 Organization: Newt Software Message-ID: <17546.1142127789@olgas.newt.com> References: <20403.1141690692@olgas.newt.com> <13961.1142043152@olgas.newt.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1142127852 30258 80.91.229.2 (12 Mar 2006 01:44:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Mar 2006 01:44:12 +0000 (UTC) Original-X-From: mh-e-devel-admin@lists.sourceforge.net Sun Mar 12 02:44:05 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 1FIFcn-0004hg-JB for gmmd-mh-e-devel@m.gmane.org; Sun, 12 Mar 2006 02:44:02 +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 D24A2880EA; Sat, 11 Mar 2006 17:44:00 -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 1FIFc0-00025B-MX for mh-e-devel@lists.sourceforge.net; Sat, 11 Mar 2006 17:43:12 -0800 Original-Received: from pop-savannah.atl.sa.earthlink.net ([207.69.195.69]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FIFbz-00039P-I1 for mh-e-devel@lists.sourceforge.net; Sat, 11 Mar 2006 17:43:12 -0800 Original-Received: from h-68-165-5-58.snvacaid.dynamic.covad.net ([68.165.5.58] helo=olgas.newt.com) by pop-savannah.atl.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1FIFbx-0005W0-00; Sat, 11 Mar 2006 20:43:09 -0500 Original-Received: by olgas.newt.com (Postfix, from userid 1000) id 22B971707E; Sat, 11 Mar 2006 17:43:09 -0800 (PST) Original-Received: from olgas.newt.com (localhost [127.0.0.1]) by olgas.newt.com (Postfix) with ESMTP id 1F10B16FB0; Sat, 11 Mar 2006 17:43:09 -0800 (PST) Original-To: mh-e-devel@lists.sourceforge.net, ding@gnus.org In-reply-to: Comments: In-reply-to Reiner Steib message dated "Sat, 11 Mar 2006 12:33:01 +0100." 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: Sat, 11 Mar 2006 17:43:09 -0800 Xref: news.gmane.org gmane.mail.mh-e.devel:11952 gmane.emacs.gnus.general:62216 Archived-At: Reiner Steib wrote: > On Sat, Mar 11 2006, Bill Wohler wrote: > > > I edited the docstrings a bit, replaced the gmm-message with just > > message for both MH-E and Emacs, and made the return code more explicit > > in the case when no-error is t and there is an error. Hope those look > > good to you. > [...] > > -If NO-ERROR is non-nil, don't signal an error if no suitable path > > -for can be found. > > s/for // > > > +If NO-ERROR is non-nil, return nil if a suitable path can't be > > +found rather than signaling an error. > > I think "return nil" is not correct: > > (gmm-image-load-path-for-library "gnus" "baz/zab" nil t) returns (nil > old-load-path). And this is how it should be, because else we'd get a > completely useless nil [image-]load-path. Initially, I thought that having the nil in the path might cause problems; it certainly looks messy. But on second thought, if we ever wanted to commit to having image-directory as the first element, we'd need that nil in the first spot. Since I haven't heard back from anyone regarding this committal, I'll assume everyone is indifferent on it. I'll just go ahead and commit to having the image-directory in the first spot, which might be nil if no-error is t, and update the example as you had previously suggested. -- 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