Gnus development mailing list
 help / color / mirror / Atom feed
From: Kevin Greiner <kgreiner@xpediantsolutions.com>
Subject: Re: The agent shows ghost messages
Date: Thu, 13 Feb 2003 07:50:11 -0600	[thread overview]
Message-ID: <uof5g8f3g.fsf@xpediantsolutions.com> (raw)
In-Reply-To: <u8ywk7eo8.fsf@axis.com>

[-- Attachment #1: Type: text/plain, Size: 3476 bytes --]

Niklas Morberg <niklas.morberg@axis.com> writes:

> Kevin Greiner <kgreiner@xpediantsolutions.com> 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

Niklas,

The problem is that gnus-agent-expire failed to expire the
article. That shouldn't happen when the third parameter is force.  It
implies that either g-a-e is broken or that 8673 was never fetched
into the agent.  I've attached a copy of just g-a-e from revision
6.136 as I've been concerned with some recent changes to it.  Either
append this file to your gnus-agent.el or load it AFTER opening a
group.  Once you've loaded it, set gnus-verbose to 7 and repeat the 
'B m' test.


[-- Attachment #2: Old version of gnus-agent-expire --]
[-- Type: application/emacs-lisp, Size: 12460 bytes --]

[-- Attachment #3: Type: text/plain, Size: 17 bytes --]



Thanks,
Kevin


  reply	other threads:[~2003-02-13 13:50 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-05  4:15 spam-check-BBDB bug?/bbdb whitelist split function Bill White
2003-02-05 14:47 ` Ted Zlatanov
2003-02-05 14:59   ` Bill White
2003-02-05 17:57     ` Ted Zlatanov
2003-02-05 15:07   ` Niklas Morberg
2003-02-05 17:51     ` Ted Zlatanov
2003-02-10  8:13       ` spam-stat broken? (was: spam-check-BBDB bug?/bbdb whitelist split function) Niklas Morberg
2003-02-11  8:15         ` spam-stat broken? Niklas Morberg
2003-02-11 17:56           ` Ted Zlatanov
2003-02-11 20:28             ` Ted Zlatanov
2003-02-12  9:49               ` Niklas Morberg
2003-02-12 11:16                 ` Ted Zlatanov
2003-02-12 13:44                   ` Ted Zlatanov
2003-02-12 13:46                 ` Ted Zlatanov
2003-02-12 15:00                   ` The agent shows ghost messages (was: spam-stat broken?) Niklas Morberg
2003-02-12 15:48                     ` The agent shows ghost messages Ted Zlatanov
2003-02-12 16:29                     ` The agent shows ghost messages (was: spam-stat broken?) Kevin Greiner
2003-02-13  7:53                       ` The agent shows ghost messages Niklas Morberg
2003-02-13  8:44                       ` The agent shows ghost messages (was: spam-stat broken?) Niklas Morberg
2003-02-13 13:50                         ` Kevin Greiner [this message]
2003-02-13 14:50                           ` The agent shows ghost messages Niklas Morberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uof5g8f3g.fsf@xpediantsolutions.com \
    --to=kgreiner@xpediantsolutions.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).