From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57604 Path: main.gmane.org!not-for-mail From: Nevin Kapur Newsgroups: gmane.emacs.gnus.general Subject: Re: [patch] spam.el revision 7.35 stopping exit from groups Date: Sat, 15 May 2004 10:37:42 -0700 Organization: Computer Science, Caltech Sender: ding-owner@lists.math.uh.edu Message-ID: References: <29788.1717248403$1084640331@news.gmane.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1085089420 6961 80.91.224.253 (20 May 2004 21:43:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 20 May 2004 21:43:40 +0000 (UTC) Original-X-From: ding-owner+M6144@lists.math.uh.edu Thu May 20 23:43:31 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BQvK6-0004kx-00 for ; Thu, 20 May 2004 23:43:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1BQvJs-0001U8-00; Thu, 20 May 2004 16:43:16 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BP36d-00059v-00 for ding@lists.math.uh.edu; Sat, 15 May 2004 12:37:51 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BP36a-0003Xc-Oh for ding@lists.math.uh.edu; Sat, 15 May 2004 12:37:48 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id 747D73A0044 for ; Sat, 15 May 2004 12:37:47 -0500 (CDT) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BP36Y-0006SN-00 for ; Sat, 15 May 2004 19:37:46 +0200 Original-Received: from charter-240-176.caltech.edu ([131.215.240.176]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 15 May 2004 19:37:46 +0200 Original-Received: from nkapur by charter-240-176.caltech.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 15 May 2004 19:37:46 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 31 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: charter-240-176.caltech.edu Mail-Copies-To: never User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (darwin) Cancel-Lock: sha1:l+NF+YsdZCS8W8o/KDH/+RBhqb4= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57604 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57604 Nelson Ferreira writes: > After updating gnus with to the latest CVS, I started getting: > > > Signaling: (wrong-type-argument number-char-or-marker-p nil) > spam-summary-prepare-exit() The following patch fixes it for me. -Nevin Index: spam.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/spam.el,v retrieving revision 7.35 diff -u -r7.35 spam.el --- spam.el 14 May 2004 19:41:07 -0000 7.35 +++ spam.el 15 May 2004 17:34:53 -0000 @@ -869,9 +869,8 @@ ;; now we redo spam-mark-spam-as-expired-and-move-routine to only ;; expire spam, in case the above did not expire them - (when (< 0 (spam-list-articles - gnus-newsgroup-articles - 'spam)) + (when (spam-list-articles gnus-newsgroup-articles + 'spam) (gnus-message 6 "Marking spam as expired without moving it") (spam-mark-spam-as-expired-and-move-routine nil))