From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53552 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: spam.el and ham in a spam group Date: Fri, 25 Jul 2003 15:13:52 -0400 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Sender: ding-owner@lists.math.uh.edu Message-ID: <4ny8ym5si7.fsf@chubby.bwh.harvard.edu> 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 1059160434 25781 80.91.224.249 (25 Jul 2003 19:13:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 25 Jul 2003 19:13:54 +0000 (UTC) Cc: Original-X-From: ding-owner+M2096@lists.math.uh.edu Fri Jul 25 21:13:51 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 19g80k-0006h6-00 for ; Fri, 25 Jul 2003 21:13:50 +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 19g81Q-0008QB-00; Fri, 25 Jul 2003 14:14:32 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19g81L-0008Q6-00 for ding@lists.math.uh.edu; Fri, 25 Jul 2003 14:14:27 -0500 Original-Received: (qmail 1839 invoked by alias); 25 Jul 2003 19:14:27 -0000 Original-Received: (qmail 1834 invoked from network); 25 Jul 2003 19:14:27 -0000 Original-Received: from clifford.bwh.harvard.edu (134.174.9.41) by sclp3.sclp.com with SMTP; 25 Jul 2003 19:14:27 -0000 Original-Received: from chubby.bwh.harvard.edu (chubby [134.174.9.50]) by clifford.bwh.harvard.edu (8.10.2+Sun/8.11.0) with ESMTP id h6PJDr013220; Fri, 25 Jul 2003 15:13:53 -0400 (EDT) Original-Received: (from tzz@localhost) by chubby.bwh.harvard.edu (8.11.6+Sun/8.11.0) id h6PJDrZ06832; Fri, 25 Jul 2003 15:13:53 -0400 (EDT) Original-To: =?iso-8859-1?q?Stefan_Reich=F6r?= X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Followup-To: =?iso-8859-1?q?Stefan_Reich=F6r?= , In-Reply-To: (Stefan =?iso-8859-1?q?Reich=F6r's?= message of "Fri, 25 Jul 2003 08:47:48 +0200") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (usg-unix-v) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53552 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53552 On Fri, 25 Jul 2003, xsteve@riic.at wrote: > I am not sure, how the spam-process-ham-in-spam-groups should work. It allows a ham-processor to be set for a spam group. > What I really want is a possibility to mark some messages as ham and > to respool them. How can I achieve this? With the ham-process-destination group/topic parameter, as described in the manual. > 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? Yes, you just need to add the spam-stat ham processor to the spam group's ham-processor group/topic parameter, and set a ham-process-destination group/topic parameter for the same spam group. It will do what you have written, I think. Ted