Gnus development mailing list
 help / color / mirror / Atom feed
From: Nevin Kapur <nkapur@cs.caltech.edu>
Subject: Re: [patch] spam.el revision 7.35 stopping exit from groups
Date: Sat, 15 May 2004 10:37:42 -0700	[thread overview]
Message-ID: <m2hduhbnh5.fsf@nkpbook-invalid.cs.caltech.edu> (raw)
In-Reply-To: <29788.1717248403$1084640331@news.gmane.org>

Nelson Ferreira <nelson.ferreira@verizon.net> 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))
 




  reply	other threads:[~2004-05-15 17:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-15 16:57 Nelson Ferreira
2004-05-15 17:37 ` Nevin Kapur [this message]
     [not found] <m3y8ntvd9s.fsf_-nf--_xmat_-m:gnus_---@tuxie.homelinux.net>
2004-05-15 18:21 ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2hduhbnh5.fsf@nkpbook-invalid.cs.caltech.edu \
    --to=nkapur@cs.caltech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).