From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/49675 Path: main.gmane.org!not-for-mail From: Torsten Hilbrich Newsgroups: gmane.emacs.gnus.general Subject: Re: spam.el not moving ham message from spam group Date: Mon, 27 Jan 2003 20:11:21 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: <87r8aywgpy.fsf@myrkr.in-berlin.de> References: <4nadhq1mzq.fsf@lockgroove.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 1043694874 6108 80.91.224.249 (27 Jan 2003 19:14:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 27 Jan 2003 19:14:34 +0000 (UTC) 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 18dEiD-0001Zo-00 for ; Mon, 27 Jan 2003 20:14:29 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18dEj9-0005lx-00; Mon, 27 Jan 2003 13:15:27 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 27 Jan 2003 13:16:25 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id NAA13690 for ; Mon, 27 Jan 2003 13:16:12 -0600 (CST) Original-Received: (qmail 5046 invoked by alias); 27 Jan 2003 19:15:06 -0000 Original-Received: (qmail 5041 invoked from network); 27 Jan 2003 19:15:06 -0000 Original-Received: from hirsch.in-berlin.de (@192.109.42.6) by 66.230.238.6 with SMTP; 27 Jan 2003 19:15:06 -0000 Original-Received: from hirsch.in-berlin.de (localhost [127.0.0.1]) by hirsch.in-berlin.de (8.12.1/8.12.1/Debian -2) with ESMTP id h0RJF2YK012667 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for ; Mon, 27 Jan 2003 20:15:02 +0100 Original-Received: from myrkr.in-berlin.de (uucp@localhost) by hirsch.in-berlin.de (8.12.1/8.12.1/Debian -2) with BSMTP id h0RJF2b7012639 for ding@gnus.org; Mon, 27 Jan 2003 20:15:02 +0100 X-Envelope-From: news@myrkr.in-berlin.de X-Envelope-To: ding@gnus.org Original-Received: from news by myrkr.in-berlin.de with local (Exim 4.04 #1 (Debian)) id 18dEfB-0002fJ-00 for ; Mon, 27 Jan 2003 20:11:21 +0100 Original-To: ding@gnus.org Original-Lines: 29 Original-X-Trace: myrkr.in-berlin.de 1043694681 9827 127.0.0.1 (27 Jan 2003 19:11:21 GMT) Original-X-Complaints-To: usenet@myrkr.in-berlin.de Original-NNTP-Posting-Date: Mon, 27 Jan 2003 19:11:21 +0000 (UTC) X-Face: &h3VJ.Wf$"FwQv&ybX66{lt4*Mo%#kP6^"eU?7~UHhgF6l7)UB0f~g'}64W-b{tK1Jyh)^! %sc(cpH%Yv}bh"VwaJ>>!Kv*k4EJn^Lt[X|f< User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 (i386-pc-linux-gnu) Cancel-Lock: sha1:MvQLZXhCpG5E+fRFozGD7Oo681M= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:49675 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:49675 Niklas Morberg writes: [...] > It's very easy to reproduce: > > Move any ham message to the spam group > Go to the spam group, mark the message as read > Exit spam group > Ham message has not been moved. Yesterday I reported a bug regarding the same problem. Here is the patch I included: --- /home/torsten/CVS/gnus/lisp/spam.el 2003-01-24 18:47:41.000000000 +0100 +++ lisp/spam.el 2003-01-26 12:46:55.000000000 +0100 @@ -408,7 +408,7 @@ (while articles (setq article (pop articles)) - (when (and (memq mark ham-mark-values) + (when (and (memq (gnus-summary-article-mark article) ham-mark-values) (stringp group)) (let ((gnus-current-article article)) (gnus-summary-move-article nil group)))))) The function patched is spam-ham-move-routine. Torsten