Gnus development mailing list
 help / color / mirror / Atom feed
From: Michael Shields <shields@msrl.com>
Subject: [PATCH] Fix ham copying (inverted logic)
Date: Tue, 01 Apr 2003 22:47:45 +0000	[thread overview]
Message-ID: <87adf996ni.fsf@mulligatwani.msrl.com> (raw)

Ham copying is broken (inactive) since 2003-03-18 because of a small
mistake.  Patch below.


lisp/ChangeLog addition:

2003-04-01  Michael Shields  <shields@msrl.com>

	* spam.el (spam-ham-move-routine): Use spam-group-ham-mark-p, not
	spam-group-spam-mark-p.


gnus source patch:
Diff command:   cvs -q diff -u
Files affected: lisp/spam.el

Index: lisp/spam.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/spam.el,v
retrieving revision 6.87
diff -u -r6.87 spam.el
--- lisp/spam.el	19 Mar 2003 23:05:57 -0000	6.87
+++ lisp/spam.el	1 Apr 2003 22:46:54 -0000
@@ -473,8 +473,8 @@
     (when (stringp group)		; this routine will do nothing
 					; without a valid group
       (dolist (article articles)
-	(when (spam-group-spam-mark-p gnus-newsgroup-name
-				      (gnus-summary-article-mark article))
+	(when (spam-group-ham-mark-p gnus-newsgroup-name
+				     (gnus-summary-article-mark article))
 	  (push article tomove)))
 
       ;; now do the actual move

-- 
Shields.




                 reply	other threads:[~2003-04-01 22:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87adf996ni.fsf@mulligatwani.msrl.com \
    --to=shields@msrl.com \
    /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).