From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/42995 Path: main.gmane.org!not-for-mail From: ShengHuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: Agent .overview files not getting truncated (was Re: memory usage results (ack!)) Date: Fri, 08 Feb 2002 01:02:37 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <2nbsf0ik8y.fsf@zsh.cs.rochester.edu> References: <2nit9898ps.fsf@zsh.cs.rochester.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035178157 15168 80.91.224.250 (21 Oct 2002 05:29:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:29:17 +0000 (UTC) Return-Path: Original-Received: (qmail 7039 invoked from network); 8 Feb 2002 06:03:41 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 8 Feb 2002 06:03:41 -0000 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 16Z47w-0004Me-00; Fri, 08 Feb 2002 00:03:16 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 08 Feb 2002 00:03:13 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id AAA06253 for ; Fri, 8 Feb 2002 00:02:58 -0600 (CST) Original-Received: (qmail 7019 invoked by alias); 8 Feb 2002 06:02:55 -0000 Original-Received: (qmail 7014 invoked from network); 8 Feb 2002 06:02:55 -0000 Original-Received: from roc-24-58-72-167.rochester.rr.com (HELO zsh.2y.net) (@24.58.72.167) by gnus.org with SMTP; 8 Feb 2002 06:02:55 -0000 Original-Received: (from zsh@localhost) by zsh.2y.net (8.11.6/8.11.2) id g1862bC24906; Fri, 8 Feb 2002 01:02:37 -0500 Original-To: ding@gnus.org X-Attribution: ZSH X-Face: #zw9`a=vHLkn+ZH8C (Wes Hardaker's message of "Thu, 07 Feb 2002 21:08:49 -0800") Original-Lines: 22 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:42995 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:42995 Wes Hardaker writes: > Well, first of in debugging it I've found the following things: > > 1) it only appears if there is in fact new mail in the folder > (otherwise gnus-agent-braid-nov doesn't even get called). > > 2) the problem comes from the fact that the if statement which decides > whether to insert the contents of the old .overview file into the > nntp buffer bases it's decision on the last article number in > the list of articles and the .overview file. If the list of > articles contains anything newer, then the *entire* contents of the > .overview file is inserted. I think this is where the duplication > is going on. Thank you for analysis. I guess you've customized gnus-fetch-old-headers. Anyway, I fixed the problem. To fix the .overview files, you can remove all these files, then run M-x gnus-agent-regenerate. ShengHuo