From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/50085 Path: main.gmane.org!not-for-mail From: Niklas Morberg Newsgroups: gmane.emacs.gnus.general Subject: Re: The agent shows ghost messages (was: spam-stat broken?) Date: Thu, 13 Feb 2003 09:44:39 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <4nwukeiy3c.fsf@lockgroove.bwh.harvard.edu> <4nr8amfwem.fsf@lockgroove.bwh.harvard.edu> <4nfzqur9al.fsf@lockgroove.bwh.harvard.edu> <4nk7g6tvdf.fsf@lockgroove.bwh.harvard.edu> <4nadh1k3wy.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 1045125975 23544 80.91.224.249 (13 Feb 2003 08:46:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 13 Feb 2003 08:46:15 +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 18jEzR-00064x-00 for ; Thu, 13 Feb 2003 09:45:05 +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 18jEzy-0007yT-00; Thu, 13 Feb 2003 02:45:38 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 13 Feb 2003 02:46:36 -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 CAA07189 for ; Thu, 13 Feb 2003 02:46:23 -0600 (CST) Original-Received: (qmail 78658 invoked by alias); 13 Feb 2003 08:45:20 -0000 Original-Received: (qmail 78653 invoked from network); 13 Feb 2003 08:45:20 -0000 Original-Received: from unknown (HELO krynn.axis.se) (212.209.10.216) by 66.230.238.6 with SMTP; 13 Feb 2003 08:45:20 -0000 Original-Received: from PCNIKLAS2 (dh10-13-8-244.axis.se [10.13.8.244]) by krynn.axis.se (8.12.3/8.12.3/Debian -4) with ESMTP id h1D8ie3O019095 for ; Thu, 13 Feb 2003 09:44:40 +0100 Original-To: ding@gnus.org In-Reply-To: (Kevin Greiner's message of "Wed, 12 Feb 2003 10:29:25 -0600") Mail-Followup-To: ding@gnus.org 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:50085 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:50085 Kevin Greiner writes: >> 1. Start with two unread and undownloaded messages in a >> group. >> >> 2. Read the first message. >> > > Niklas, pls do the following command at this point: > M-: (debug-on-entry 'gnus-agent-expire) > M-: (setq gnus-verbose 7) > >> 3. Move the second message to another group with `B m' >> without reading it. > > You should have been thrown into the debugger. Did that happen? Yes. > Was the first argument to gnus-agent-expire a list of one > integer; the article # of the article being moved? Yes. Complete output: * gnus-agent-expire((8673) "incoming" force) gnus-request-move-article(8673 "incoming" "mailse01.axis.se" (gnus-request-accept-article "INBOX" (quote nil) t t) t) gnus-summary-move-article(nil) * call-interactively(gnus-summary-move-article) > Type 'c' to continue. Once again, I end up in the debugger. I hit 'c' again. > Take a look at the message buffer. gnus-agent-expire should have > printed messages telling you that it removed the NOV entry for the > article in question. Did it? No. The contents of the message buffer (after having exited and re-entered the "incoming" group says): Moving to INBOX: (8673)... Loading gnus-dup...done Entering debugger... [2 times] Mark set [2 times] iswitchb-read-buffer: Quit Continuing. Expiring articles in incoming gnus-agent-expire: Loading overview... Done gnus-agent-expire: Sorting entries... Done gnus-agent-expire: Merging entries... Done Expiry...done Entering debugger... [2 times] Mark set [2 times] Continuing. nnimap: Setting marks in INBOX...done nnimap: Updating info for INBOX...done nnimap: Setting marks in incoming...done Retrieving newsgroup: incoming... nnimap: Updating info for incoming...done Fetching headers for incoming...done Generating summary...done No more unread articles >> 4. Exit the group. >> >> 5. Re-enter the same group. The second message shows up in >> the summary buffer, but it not possible to look at it. >> It has not been downloaded and it is not on the server. >> >> This only happens if gnus-agent-mark-unread-after-downloaded >> is nil. Setting g-a-m-u-a-d to non-nil makes the problem go >> away. > > You should be using revision 6.142, or later, of > gnus-agent.el. Are you? Yup: $ cvs status gnus-agent.el =================================================================== File: gnus-agent.el Status: Up-to-date Working revision: 6.142 Repository revision: 6.142 /usr/local/cvsroot/gnus/lisp/gnus-agent.el,v Sticky Tag: (none) Sticky Date: (none) Sticky Options: (none) Before doing the steps above I disabled all spam functionality, exited emacs, downloaded a fresh gnus from CVS, built it, installed it and then started emacs. Niklas