From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61966 Path: news.gmane.org!not-for-mail From: "Ted Zlatanov" Newsgroups: gmane.emacs.gnus.general Subject: ham destination bugs (was: spam.el: Bugs, compatibility with v5-10) Date: 13 Feb 2006 14:15:55 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <4nzmkv9ij8.fsf_-_@lifelogs.com> References: <87k6ccjgzr.fsf@stupidchicken.com> <4nbqxkmh39.fsf@lifelogs.com> <87ek2g8cld.fsf@stupidchicken.com> <4nirrsgrfc.fsf_-_@lifelogs.com> <4noe1h8uvw.fsf@lifelogs.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1139858241 8138 80.91.229.2 (13 Feb 2006 19:17:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Feb 2006 19:17:21 +0000 (UTC) Original-X-From: ding-owner+m10493@lists.math.uh.edu Mon Feb 13 20:17:18 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F8jBk-0000Mp-7q for ding-account@gmane.org; Mon, 13 Feb 2006 20:16:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1F8jBf-0000LW-00; Mon, 13 Feb 2006 13:16:39 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1F8jB4-0000LQ-00 for ding@lists.math.uh.edu; Mon, 13 Feb 2006 13:16:02 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1F8jB0-0000cr-Fh for ding@lists.math.uh.edu; Mon, 13 Feb 2006 13:16:02 -0600 Original-Received: from clifford.bwh.harvard.edu ([134.174.9.41] helo=mail.bwh.harvard.edu) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1F8jAy-000858-00 for ; Mon, 13 Feb 2006 20:15:57 +0100 Original-Received: (qmail 26381 invoked from network); 13 Feb 2006 19:09:14 -0000 Envelope-Sender: tzz@lifelogs.com Envelope-Recipients: ding@gnus.org, Original-Received: from asimov.bwh.harvard.edu (HELO asimov) ([134.174.8.118]) (envelope-sender ) by mail.bwh.harvard.edu (qmail-ldap-1.03) with SMTP for ; 13 Feb 2006 19:09:14 -0000 Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org 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" X-Hashcash: 1:20:060213:ding@gnus.org::IXIUlnrpV37mhoJY:00000bcD In-Reply-To: (Reiner Steib's message of "Thu, 09 Feb 2006 16:00:43 +0100") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61966 Archived-At: On 9 Feb 2006, reinersteib+gmane@imap.cc wrote: On Wed, Feb 08 2006, Ted Zlatanov wrote: > [ I didn't report it yet because I wanted to test if the problem only > occurs with nnimap or also for nnml groups. But now that you ask... ] > `ham-process-destination' doesn't work correctly for me. When I find > a ham message in "Spam/Unsure", I mark it with `d'. On group exit, > the message is moved to `rs-imap-train-ham-group' but not to > `rs-imap-inbox-group'. IIRC, it worked correctly when using Gnus 5.11 > (from Emacs CVS). `spam-process-destination' works also with multiple > destinations[1] for the same group. > (defvar rs-imap-method "nnimap+kiz:" > "Prefered IMAP method.") > (defvar rs-imap-inbox-group (concat rs-imap-method "INBOX") > "IMAP inbox.") > (defvar rs-imap-spam-group (concat rs-imap-method "Spam/spamblock") > "Group for incoming spam.") > (defvar rs-imap-train-ham-group (concat rs-imap-method "bayes/ham") > "Group for training ham.") > (defvar rs-imap-train-spam-group (concat rs-imap-method "bayes/spam") > "Group for training spam.") > > (setq > gnus-parameters > `(;; [other stuff] > (":Spam/Unsure" > (ham-process-destination ,rs-imap-train-ham-group > ,rs-imap-inbox-group) > (spam-move-spam-nonspam-groups-only nil) > (spam-process-destination ,rs-imap-train-spam-group > "nnml+personal:misc.Spam.2006") > (spam-contents gnus-group-spam-classification-spam) > (auto-expire . nil)) > ;; [other stuff] > ("^gmane\\." > (spam-contents gnus-group-spam-classification-ham);; tool bar > (spam-process > ,(if (boundp 'spam-summary-exit-behavior) > ;;(> (gnus-continuum-version) 5.11) > '((spam spam-use-gmane)) > '(gnus-group-spam-exit-processor-report-gmane)))) > ;; [other stuff] > )) Can you go inside the group and check what spam-move-ham-routine is doing? Specifically, what is the value of=20 (gnus-parameter-ham-process-destination gnus-newsgroup-name) and whether spam-move-ham-routine is getting invoked at all? > In the "^gmane\\." entry, I need a conditional for v5-10 and trunk, > because the backward compatibility code doesn't work correctly, > see=A0[2]. Well, spam-list-of-processors doesn't contain gnus-group-spam-exit-processor-report-gmane so perhaps that's why it doesn't work. Can you try adding (gnus-group-spam-exit-processor-report-gmane spam spam-use-gmane) to that list and see if that fixes your problem? > Additionally to those two items, my message from September [3]. > Unless these problems are resolved, I'd rather not put it into v5-10. > [3] > http://thread.gmane.org/v9vf0ugya0.fsf%40marauder.physik.uni-ulm.de That message has several issues; I definitely will fix the manual by taking Chong's version and adding the changes for the new-style backend variables. Was there anything else I missed? Thanks Ted p.s. you're so well-organized, it makes me jealous. Is there an Emacs rs-brain-organize-mode? :) > [1] > ,----[ *Messages* ] > | Exiting summary buffer and applying spam rules > | Registering 1 specific articles as spam using backend spam-use-move > | Copying to nnimap+kiz:bayes/spam: (657)... > | nnimap: Setting marks in bayes/spam...done > | nnimap: Updating info for nnimap+kiz:bayes/spam...done > | Copying to nnml+personal:misc.Spam.2006: (657)... > | Wrote /home/dept/ste/Mail/personal/misc.Spam.2006/715 > | 1 spam messages were registered by backend spam-use-move. > | nnimap: Setting marks in Spam/Unsure...done > | Retrieving newsgroup: nnimap+kiz:bayes/spam... > `---- > > [2] =20 > http://thread.gmane.org/v9br2n61qd.fsf%40marauder.physik.uni-ulm.de