From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24733 Path: main.gmane.org!not-for-mail From: Conrad Sauerwald Newsgroups: gmane.emacs.gnus.general Subject: Re: agent strangeness Date: 18 Aug 1999 09:06:11 -0700 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035162248 10326 80.91.224.250 (21 Oct 2002 01:04:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:04:08 +0000 (UTC) Cc: nnimap@extundo.com, ding@gnus.org Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id MAA12047 for ; Wed, 18 Aug 1999 12:52:08 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.3/8.9.3) with ESMTP id LAB12891; Wed, 18 Aug 1999 11:49:42 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 18 Aug 1999 11:50:12 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id LAA20781 for ; Wed, 18 Aug 1999 11:49:32 -0500 (CDT) Original-Received: from gw-us1.philips.com (gw-us1.philips.com [205.167.14.34]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id MAA11966 for ; Wed, 18 Aug 1999 12:48:19 -0400 (EDT) Original-Received: from smtprelay-us1.philips.com (localhost.philips.com [127.0.0.1]) by gw-us1.philips.com with ESMTP id MAA00622; Wed, 18 Aug 1999 12:48:14 -0400 (EDT) (envelope-from conrad@area.com) Original-Received: from smtprelay-nam1.philips.com(130.140.196.208) by gw-us1.philips.com via mwrap (4.0a) id xma000620; Wed, 18 Aug 99 12:48:14 -0400 Original-Received: from sun1.scz.us.origin-it.com ([172.16.143.46]) by smtprelay-us1.philips.com (8.9.3/8.8.5-1.2.2m-19990317) with ESMTP id MAA08442; Wed, 18 Aug 1999 12:48:13 -0400 (EDT) Original-Received: from scala.scz.us.origin-it.com (scala.scz.us.origin-it.com [172.16.143.242]) by sun1.scz.us.origin-it.com (8.8.8+Sun/8.8.8) with ESMTP id JAA27346; Wed, 18 Aug 1999 09:55:04 -0700 (PDT) Original-To: Simon Josefsson In-Reply-To: Simon Josefsson's message of "18 Aug 1999 01:03:35 +0200" X-PGP-Key-ID: 0x7DF97E7D X-PGP-Fingerprint: B1 22 C0 11 A4 0C C7 99 23 C4 63 1E 51 41 12 71 Original-Lines: 53 User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.4 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:24733 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:24733 prequel: I was having a problem with pgnus0.95/nnimap0.128 (NTEmacs 20.4) using the agent, that whenever I refreshed "g" the group buffer unplugged, it would reset article counts to an old state instead of the values I saw when working plugged. I found that there was a "groups" file in ~/News/agent/<>/agent.lib next to an "active" file, which was the only candidate where gnus was getting these old article counts from. After renaming the groups file out of the way, everything was fine. So, I'm cross-posting this to ding to find out whether I'm getting around the problem this the wrong way, or the wrong way.. and hopefully find out the right way. Simon Josefsson writes: > > I just experienced some strangeness while using the agent and am not > > quite sure whether this is a known problem. > > > > I went online and basically got my email like I'm used to (J j J Y g J > > s J j) and was able to read everything. I replied to a message and > > after firing it off wanted to check it, so I refreshed (g) to see > > queue updated. However, this also made all the email I had retrieved > > while online disappear. > > This looks similar to another bug reported to the ding-list recently > > http://www.gnus.org/list-archives/ding/199908/msg00059.html Indeed, but I only noticed it now I tried to reproduce the bug: once I make groups available again in nnimap/<>/agent.lib I get the wrong (old) counts after I press 'g' unplugged and after that lose all the marks set in groups for articles which the "groups" file didn't know existed. (I'm guessing the marks are still there on the server, checking) Yes, the marks are still on the server, but got misinterpreted/messed up while reading unplugged. They are correctly interpreted while plugged. > No, it should work. Anyway I think it's a Agent problem and not a > nnimap problem. It seems an agent problem, because it seems to get more than a listing of the groups from the "groups" file: initialising the active list and using that one instead of the values in the "active" file. > I wasn't able to reproduce it. Are you able to reproduce it all the > time, or does it only happen "sometimes"? If you remove all your old > 'groups' file and let Gnus generate new 'active' files, does it go > away? Yes, I can reproduce it (see above). And yes, it goes away after I move "groups" out of the way. In fact the "groups" file is never touched or regenerated if existing. Only "active" gets updated. Conrad.