From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61932 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: spam.el: Bugs, compatibility with v5-10 (was: spam manual update for Gnus) Date: Thu, 09 Feb 2006 16:00:43 +0100 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: <87k6ccjgzr.fsf@stupidchicken.com> <4nbqxkmh39.fsf@lifelogs.com> <87ek2g8cld.fsf@stupidchicken.com> <4nirrsgrfc.fsf_-_@lifelogs.com> <4noe1h8uvw.fsf@lifelogs.com> Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1139498951 27616 80.91.229.2 (9 Feb 2006 15:29:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Feb 2006 15:29:11 +0000 (UTC) Original-X-From: ding-owner+m10459@lists.math.uh.edu Thu Feb 09 16:29:05 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 1F7Dia-0008Mt-3o for ding-account@gmane.org; Thu, 09 Feb 2006 16:28:24 +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 1F7DiV-0005CC-00; Thu, 09 Feb 2006 09:28:19 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1F7DfH-0005C6-00 for ding@lists.math.uh.edu; Thu, 09 Feb 2006 09:24:59 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1F7DfA-000432-IU for ding@lists.math.uh.edu; Thu, 09 Feb 2006 09:24:58 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1F7Df8-0006Qk-00 for ; Thu, 09 Feb 2006 16:24:50 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1F7Ded-0007KB-UE for ding@gnus.org; Thu, 09 Feb 2006 16:24:20 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de ([134.60.10.123]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Feb 2006 16:24:19 +0100 Original-Received: from Reiner.Steib by bridgekeeper.physik.uni-ulm.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Feb 2006 16:24:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 97 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de X-Face: #vK]N[`vqjuod*|)'[iD7/"3AB-ApT%fmN"LWAg@oS7OesGv~)n[OBTLM#I="J'Y^-7I I/ps7o_'IK@#-Rs{::DZ@O8yS|fexe,XslY[:dNWOb~>?mC-&i_c)say:"\IpA.5U.b]'NY;Pks{lb h.+#6%DpZuaK3dcHB`Av3zc:r!C%~s0&m,tWj]&},qg.+0ww2gK%f!:GK|wMl.I!(voY*1"^li8"~B BNG)9LvPi?^DMR-GVDnZqhu*3Hi,+g=wFhI)BL6&u{EOVEHjVEVq~d?_}lMntWAc3(6?kftjc>_f>! g0wM(qPM$d5]^TT_Qyi&L?LGVG)SHN;Gk/,pkY9,~ Mail-Copies-To: nobody User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:Gi4szLUYgz3wCW/9iAgsS/lC/wI= X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61932 Archived-At: On Wed, Feb 08 2006, Ted Zlatanov wrote: > The differences are pretty major, and I would actually like to bring > the CVS version of spam.el and spam-report.el over to Emacs CVS. You might have to restore compatibility with Emacs 20.7 if the version in v5-10 has it. (The versions in Emacs and v5-10 should be equal.) > There's a lot of bug fixes, but no new features and no bug reports > with the CVS version of spam.el/spam-report.el for a while now. [ 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. --8<---------------cut here---------------start------------->8--- (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] )) --8<---------------cut here---------------end--------------->8--- In the "^gmane\\." entry, I need a conditional for v5-10 and trunk, because the backward compatibility code doesn't work correctly, see [2]. [ Bring the trunk version of spam.el and spam-report.el over to Emacs CVS / v5-10. ] > Is this possible? Additionally to those two items, my message from September [3]. Unless these problems are resolved, I'd rather not put it into v5-10. > That being said, Chong's version of the manual looks good after a > first read. I will probably suggest minor changes here and there, but > I am really glad he wrote something better than my original version :) Great! Bye, Reiner. [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] http://thread.gmane.org/v9br2n61qd.fsf%40marauder.physik.uni-ulm.de [3] http://thread.gmane.org/v9vf0ugya0.fsf%40marauder.physik.uni-ulm.de -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/