From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/50021 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Bug when using the agent and spam.el Date: Tue, 11 Feb 2003 13:03:23 -0500 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Sender: owner-ding@hpc.uh.edu Message-ID: <4nd6lyr8yc.fsf@lockgroove.bwh.harvard.edu> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1044986558 5063 80.91.224.249 (11 Feb 2003 18:02:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 11 Feb 2003 18:02:38 +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 18iejs-0001JU-00 for ; Tue, 11 Feb 2003 19:02:36 +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 18ielE-0005fZ-00; Tue, 11 Feb 2003 12:04:00 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 11 Feb 2003 12:04:57 -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 MAA02489 for ; Tue, 11 Feb 2003 12:04:46 -0600 (CST) Original-Received: (qmail 27732 invoked by alias); 11 Feb 2003 18:03:43 -0000 Original-Received: (qmail 27725 invoked from network); 11 Feb 2003 18:03:42 -0000 Original-Received: from clifford.bwh.harvard.edu (134.174.9.41) by 66.230.238.6 with SMTP; 11 Feb 2003 18:03:42 -0000 Original-Received: from lockgroove.bwh.harvard.edu (lockgroove [134.174.9.133]) by clifford.bwh.harvard.edu (8.10.2+Sun/8.11.0) with ESMTP id h1BI3gj05790 for ; Tue, 11 Feb 2003 13:03:42 -0500 (EST) Original-Received: (from tzz@localhost) by lockgroove.bwh.harvard.edu (8.11.6+Sun/8.11.0) id h1BI3NV10622; Tue, 11 Feb 2003 13:03:23 -0500 (EST) 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" Mail-Followup-To: ding@gnus.org In-Reply-To: (Niklas Morberg's message of "Tue, 11 Feb 2003 12:07:59 +0100") User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:50021 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:50021 On Tue, 11 Feb 2003, niklas.morberg@axis.com wrote: > Now I've found the time to be constructive and not only > whine about the problems I'm having with the agent. This is > what I do: > > 1. I enter a ham group with two new messages. One is spam > and one is ham. > 2. I view the ham message. > 3. I mark the spam message as spam with `M-d' without > viewing it. > 4. I exit the group. > > The next time I enter the group the spam message is still > there (marked as unread and undownloaded). This is terribly > frustrating when it happens to tens (and possibly hundreds) > of spam emails at a time and has made me stop using `M-d' > and instead just move the spam messages in my ham groups out > of the way with `B m'. I don't use the agent, so I can't really duplicate your situation. Are you sure your spam-process-destination is set for that group? What does (gnus-parameter-spam-process-destination gnus-newsgroup-name) return when you are in that group? > Some more observations: > > - The spam message is not cached by the agent. > - The spam message is not on the IMAP server (verified by > using another IMAP client to look at the group). > - gnus-agent-regenerate does not help. > - Unplugging and replugging the agent does not help. > - Restarting Gnus does help and the message is no longer > visible in the summary buffer. > > Could it be that the method used by spam.el to move messages > is not the standard one? Perhaps this is also the reason > that moving messages out of the spam group automatically > does not work (pure guessing without having looked at the > code). See the other thread for the spam-ham-move-routine; spam-mark-spam-as-expired-and-move-routine is similar for spam moving. I just call (gnus-summary-move-article nil group) with gnus-current-article set to the article number of interest. My code is probably wrong, since I had to figure things out pretty much by myself - suggestions for fixing it or pointers to places in the Gnus code where articles are moved properly are welcome. Ted