From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66924 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.gnus.general Subject: nnir-add-result macro broken Date: Thu, 08 May 2008 10:34:07 +0200 Organization: SuSE Linux GmbH Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1210235762 6417 80.91.229.12 (8 May 2008 08:36:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 May 2008 08:36:02 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15402@lists.math.uh.edu Thu May 08 10:36:38 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ju1bb-00009x-VK for ding-account@gmane.org; Thu, 08 May 2008 10:36:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Ju1a3-0007wC-NK; Thu, 08 May 2008 03:34:23 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Ju1a2-0007vx-Am for ding@lists.math.uh.edu; Thu, 08 May 2008 03:34:22 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1Ju1Zw-00082I-6J for ding@lists.math.uh.edu; Thu, 08 May 2008 03:34:22 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ju1a8-0003oB-00 for ; Thu, 08 May 2008 10:34:28 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ju1Zv-00055q-3w for ding@gnus.org; Thu, 08 May 2008 08:34:15 +0000 Original-Received: from charybdis-ext.suse.de ([195.135.221.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 May 2008 08:34:15 +0000 Original-Received: from schwab by charybdis-ext.suse.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 May 2008 08:34:15 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: charybdis-ext.suse.de X-Yow: I HIJACKED a 747 to get here!! I hope those fabulous CONEHEADS are at HOME!! User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:+2AMTxEgawn578RJJjaFh55atEc= X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66924 Archived-At: This fixes the nnir-add-result macro to properly substitute the parameters. Andreas. 2008-05-08 Andreas Schwab * nnir.el (nnir-add-result): Properly substitute the parameters. --- contrib/nnir.el.~7.31.~ 2008-05-08 10:27:00.000000000 +0200 +++ contrib/nnir.el 2008-05-08 10:31:38.000000000 +0200 @@ -849,9 +849,9 @@ and show thread that contains this artic (defmacro nnir-add-result (dirnam artno score prefix server artlist) "Ask `nnir-compose-result' to construct a result vector, and if it is non-nil, add it to artlist." - `(let ((result (nnir-compose-result dirnam artno score prefix server))) + `(let ((result (nnir-compose-result ,dirnam ,artno ,score ,prefix ,server))) (when (not (null result)) - (push result artlist)))) + (push result ,artlist)))) (autoload 'nnmaildir-base-name-to-article-number "nnmaildir") -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."