From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57299 Path: main.gmane.org!not-for-mail From: Nelson Ferreira Newsgroups: gmane.emacs.gnus.general Subject: [patch] spam.el revision 7.35 stopping exit from groups Date: Sat, 15 May 2004 12:57:51 -0400 Sender: ding-owner@lists.math.uh.edu Message-ID: <29788.1717248403$1084640331@news.gmane.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1084640331 3479 80.91.224.253 (15 May 2004 16:58:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 15 May 2004 16:58:51 +0000 (UTC) Original-X-From: ding-owner+M5839@lists.math.uh.edu Sat May 15 18:58:32 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 1BP2UZ-0003Y5-00 for ; Sat, 15 May 2004 18:58:31 +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 1BP2U8-00052z-00; Sat, 15 May 2004 11:58:04 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BP2Tz-00052r-00 for ding@lists.math.uh.edu; Sat, 15 May 2004 11:57:55 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BP2Tz-0003Fb-DV for ding@lists.math.uh.edu; Sat, 15 May 2004 11:57:55 -0500 Original-Received: from tuxie.homelinux.net (pool-68-237-93-213.ny325.east.verizon.net [68.237.93.213]) by justine.libertine.org (Postfix) with ESMTP id 9B8DF3A005B for ; Sat, 15 May 2004 11:57:54 -0500 (CDT) Original-Received: (from njsf@localhost) by tuxie.homelinux.net (8.11.6/8.9.3) id i4FGvpL23807; Sat, 15 May 2004 11:57:51 -0500 X-Msgid-Archive-Tag: _-nf--_xmat_-m:gnus_--- Original-To: ding@gnus.org X-Attribution: njsf User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.5 (chayote, linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57299 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57299 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() run-hooks(spam-summary-prepare-exit) apply(run-hooks spam-summary-prepare-exit) gnus-run-hooks(gnus-summary-prepare-exit-hook) #() call-interactively(gnus-summary-exit) This small patch fixed it for me, use it freely: diff -u -u -b -r7.35 spam.el --- lisp/spam.el 14 May 2004 19:41:07 -0000 7.35 +++ lisp/spam.el 15 May 2004 16:56:56 -0000 @@ -869,9 +869,9 @@ ;; 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 + (when (< 0 (length (spam-list-articles gnus-newsgroup-articles - 'spam)) + 'spam))) (gnus-message 6 "Marking spam as expired without moving it") (spam-mark-spam-as-expired-and-move-routine nil)) --=20 Nelson Ferreira