Gnus development mailing list
 help / color / mirror / Atom feed
From: asjo@koldfront.dk (Adam Sjøgren)
Subject: Re: spam.el reporting and moving ham out of spam groups.
Date: Tue, 25 May 2004 17:37:37 +0200	[thread overview]
Message-ID: <874qq4bjr2.fsf@koldfront.dk> (raw)
In-Reply-To: <8765akfxxt.fsf@enki.rimspace.net>

On Tue, 25 May 2004 23:17:34 +1000, Daniel wrote:

> Unfortunately, it doesn't seem possible to set spam.el to process
> messages as ham without setting the group classification as 'spam'.

That's right, I think.

I think spam.el would be doing "what-I-mean" more if it ham-processed
messages marked as ham in unclassified groups in addition to spam
groups (that is, all non-ham groups).

(If I mark something as ham, I want it ham-processed (unless it is in
a ham-group, then I've probably marked it by mistake O:-))

I'm using this tiny patch:

@@ -776,8 +838,8 @@
       (spam-ham-copy-routine
        (gnus-parameter-ham-process-destination gnus-newsgroup-name)))
 
-    ;; now move all ham articles out of spam groups
-    (when (spam-group-spam-contents-p gnus-newsgroup-name)
+    ;; now move all ham articles out of non-ham groups
+    (when (not (spam-group-ham-contents-p gnus-newsgroup-name))
       (gnus-message 5 "Moving ham messages from spam group")
       (spam-ham-move-routine
        (gnus-parameter-ham-process-destination gnus-newsgroup-name))))

As discussed in the thread that starts with:
 <news:4ny8nn0wpu.fsf@lifelogs.com>

I think the jury is still out on whether the change makes sense
(except to me :-))


  Best regards,

-- 
 "Stop blowing holes in my ship!"                             Adam Sjøgren
                                                         asjo@koldfront.dk




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

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-25 13:17 Daniel Pittman
2004-05-25 14:14 ` Kai Grossjohann
2004-05-26  4:41   ` Daniel Pittman
2004-05-26 16:17     ` Ted Zlatanov
2004-05-25 15:37 ` Adam Sjøgren [this message]
2004-05-26  4:46   ` Daniel Pittman
2004-05-26  8:38     ` Adam Sjøgren
2004-05-26 16:16   ` Ted Zlatanov
2004-05-26 20:29     ` Adam Sjøgren
2004-05-28 19:52       ` Adam Sjøgren
2004-06-07 17:12         ` Ted Zlatanov
2004-06-07 18:15           ` Adam Sjøgren
2004-06-08 14:24             ` Ted Zlatanov
2004-05-26 16:14 ` Ted Zlatanov
2004-05-26 20:23   ` Miles Bader
2004-05-27  6:15   ` Daniel Pittman
2004-05-27 14:35     ` 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=874qq4bjr2.fsf@koldfront.dk \
    --to=asjo@koldfront.dk \
    /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).