From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53542 Path: main.gmane.org!not-for-mail From: =?iso-8859-1?q?Stefan_Reich=F6r?= Newsgroups: gmane.emacs.gnus.general Subject: Re: spam.el and ham in a spam group Date: Fri, 25 Jul 2003 08:47:48 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <4nd6g2vb00.fsf@lockgroove.bwh.harvard.edu> <4noezl9f71.fsf@chubby.bwh.harvard.edu> <4nsmowufys.fsf@chubby.bwh.harvard.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1059115456 3096 80.91.224.249 (25 Jul 2003 06:44:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 25 Jul 2003 06:44:16 +0000 (UTC) Original-X-From: ding-owner+M2086@lists.math.uh.edu Fri Jul 25 08:44:13 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19fwJJ-0000mu-00 for ; Fri, 25 Jul 2003 08:44:13 +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 19fwKH-00073U-00; Fri, 25 Jul 2003 01:45:13 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19fwKA-00073O-00 for ding@lists.math.uh.edu; Fri, 25 Jul 2003 01:45:06 -0500 Original-Received: (qmail 76446 invoked by alias); 25 Jul 2003 06:45:06 -0000 Original-Received: (qmail 76441 invoked from network); 25 Jul 2003 06:45:05 -0000 Original-Received: from mail.riic.uni-linz.ac.at (140.78.161.130) by sclp3.sclp.com with SMTP; 25 Jul 2003 06:45:05 -0000 Original-Received: from HEIDI.riic.at (heidi.riic.uni-linz.ac.at [140.78.161.224]) by mail.riic.uni-linz.ac.at (8.9.3/8.9.3) with ESMTP id JAA18167 for ; Fri, 25 Jul 2003 09:05:34 +0200 Original-To: In-Reply-To: <4nsmowufys.fsf@chubby.bwh.harvard.edu> (Ted Zlatanov's message of "Thu, 24 Jul 2003 11:00:59 -0400") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53542 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53542 On Thu, 24 Jul 2003, Ted Zlatanov uttered the following: On Wed, 23 Jul 2003, jklymak@coas.oregonstate.edu wrote: > > This does what I want; sorry that its not in diff-form; I'm not > > secure enough in my lisp programming to think it should be > > included verbatim. > > > > (when (or (spam-group-ham-contents-p gnus-newsgroup-name) > > (and (spam-group-spam-contents-p gnus-newsgroup-name) > > spam-process-ham-in-spam-groups)) > > Thanks for the suggestion, I added spam-process-ham-in-spam-groups > as well in CVS. > I am not sure, how the spam-process-ham-in-spam-groups should work. What I really want is a possibility to mark some messages as ham and to respool them. How can I achieve this? Now I use spam-stat as spam filter and I use the following function to register the message as non spam. After that I set the process mark. I apply that for every ham message in the spam group. (defun xsteve-summary-is-non-spam () (interactive) (gnus-summary-show-article t) (other-window 1) (goto-char (point-min)) (spam-stat-buffer-is-non-spam) (other-window -1) (gnus-summary-clear-mark-forward 1) (next-line -1) (gnus-summary-mark-as-processable 1)) Before I exit the group I respool the ham messages via B r This way the messages are delivered to the group they belong. I think it would be nice to add something like this to spam.el Or can spam.el handle this already? -- Stefan.