From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62228 Path: news.gmane.org!not-for-mail From: Bill Wohler Newsgroups: gmane.mail.mh-e.devel,gmane.emacs.gnus.general Subject: Re: New GNOME icons Date: Mon, 13 Mar 2006 08:56:22 -0800 Organization: Newt Software Message-ID: <3861.1142268982@olgas.newt.com> References: <20403.1141690692@olgas.newt.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1142269167 27724 80.91.229.2 (13 Mar 2006 16:59:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Mar 2006 16:59:27 +0000 (UTC) Cc: ding@gnus.org, mh-e-devel@lists.sourceforge.net Original-X-From: mh-e-devel-admin@lists.sourceforge.net Mon Mar 13 17:59:21 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 1FIqLv-0000Uc-EP for gmmd-mh-e-devel@m.gmane.org; Mon, 13 Mar 2006 17:57:03 +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 A766488C5B; Mon, 13 Mar 2006 08:57:02 -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 1FIqLL-0004fS-85 for mh-e-devel@lists.sourceforge.net; Mon, 13 Mar 2006 08:56:27 -0800 Original-Received: from pop-gadwall.atl.sa.earthlink.net ([207.69.195.61]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1FIqLK-0006QT-3R for mh-e-devel@lists.sourceforge.net; Mon, 13 Mar 2006 08:56:27 -0800 Original-Received: from h-68-165-5-58.snvacaid.dynamic.covad.net ([68.165.5.58] helo=olgas.newt.com) by pop-gadwall.atl.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1FIqLG-0003Lj-00; Mon, 13 Mar 2006 11:56:23 -0500 Original-Received: by olgas.newt.com (Postfix, from userid 1000) id 78F231707E; Mon, 13 Mar 2006 08:56:22 -0800 (PST) Original-Received: from olgas.newt.com (localhost [127.0.0.1]) by olgas.newt.com (Postfix) with ESMTP id 754C016FA9; Mon, 13 Mar 2006 08:56:22 -0800 (PST) Original-To: Katsumi Yamaoka In-reply-to: Comments: In-reply-to Katsumi Yamaoka message dated "Mon, 13 Mar 2006 20:52:56 +0900." 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: Mon, 13 Mar 2006 08:56:22 -0800 Xref: news.gmane.org gmane.mail.mh-e.devel:11969 gmane.emacs.gnus.general:62228 Archived-At: [Taking emacs-devel off the cc list since they don't need to be bothered by this. Or do they?] Katsumi Yamaoka wrote: > >>>>> In > >>>>> Reiner Steib wrote: > > > [1] * gmm-utils.el (gmm-image-load-path-for-library): Return single > > directory if path is t. Add no-error. > > Because of the `no-error' argument[1], I needed to modify the > `gmm-defun-compat' macro as follows Why? The arguments to *-defun-compat shouldn't make any difference. What problems were you seeing? > since I'm using Emacs 23. What's that? > It will become unnecessary soon (when the `emacs-unicode-2' > branch is synch'd with the trunk), though. Please document that. Your patch is completely undecipherable to me. I'd like to see some documentation regarding the motivation for it, as well as what it is doing. > --8<---------------cut here---------------start------------->8--- > --- gmm-utils.el~ 2006-03-07 22:01:08 +0000 > +++ gmm-utils.el 2006-03-13 11:51:18 +0000 > @@ -285,8 +285,19 @@ > "Create function NAME. > If FUNCTION exists, then NAME becomes an alias for FUNCTION. > Otherwise, create function NAME with ARG-LIST and BODY." > - (let ((defined-p (fboundp function))) > - (if defined-p > + (let ((definition (and (fboundp function) > + (symbol-function function)))) > + ;; FIXME: If a function which is not a byte compiled one might be > + ;; given as FUNCTION, we'll have to use `ad-arglist' or equivalent. > + (if (and definition > + (or (not (byte-code-function-p definition)) > + (eq (length arg-list) > + (ignore-errors > + (length (if (fboundp 'compiled-function-arglist) > + ;; XEmacs > + (eval (list 'compiled-function-arglist > + definition)) > + (aref definition 0))))))) > `(defalias ',name ',function) > `(defun ,name ,arg-list ,@body)))) > > --8<---------------cut here---------------end--------------->8--- > > [1] image-load-path-for-library is a compiled Lisp function in `image.el'. > (image-load-path-for-library LIBRARY IMAGE &optional PATH) > > > ------------------------------------------------------- > 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 > _______________________________________________ > mh-e-devel mailing list > mh-e-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mh-e-devel > -- 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