From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38606 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Something very wrong here Date: Tue, 04 Sep 2001 21:08:51 +0200 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 1035174443 23402 80.91.224.250 (21 Oct 2002 04:27:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:27:23 +0000 (UTC) Cc: ding@gnus.org Return-Path: Return-Path: Original-Received: (qmail 22428 invoked from network); 4 Sep 2001 19:09:27 -0000 Original-Received: from dolk.extundo.com (195.42.214.242) by gnus.org with SMTP; 4 Sep 2001 19:09:26 -0000 Original-Received: from barbar.josefsson.org (slipsten.extundo.com [195.42.214.241]) (authenticated) by dolk.extundo.com (8.11.6/8.11.6) with ESMTP id f84J9Uh29364; Tue, 4 Sep 2001 21:09:30 +0200 Original-To: Harry Putnam In-Reply-To: (Harry Putnam's message of "Tue, 04 Sep 2001 09:12:51 -0700") Mail-Copies-To: nobody User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.105 Original-Lines: 48 Xref: main.gmane.org gmane.emacs.gnus.general:38606 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:38606 Harry Putnam writes: > $ ls -al Mail/prinb > total 20 > drwxrwxr-x 2 reader reader 4096 Sep 4 08:57 . > drwxr-xr-x 96 reader reader 4096 Sep 4 08:57 .. > -rw-r--r-- 1 reader reader 29 Sep 4 08:57 .marks > -rw------- 1 reader reader 4419 Sep 4 08:57 .overview > > No messages but as you see, the .overview and marks files contains a > fare bit of data. Thanks for the detailed information. The .overview file should be empty. (The .marks file looked fine.) I think the problem is that `nnml-nov-delete-article' does not do what it should, because the respool eval form changed some internal state. Does the following patch make a difference? The .overview file should shrink to 0 bytes when you respool all articles. FWIW I couldn't reproduce it. I respooled all articles in a nnml buffer, but the .overview file was empty after that. If the patch doesn't do anything, maybe you could edebug `nnml-request-move-article' and `nnml-nov-delete-article' to see that the article file is really deleted (by `nnmail-delete-file-function') and that `nnml-nov-delete-article' really removes the article from the NOV file. The latter doesn't seem to happen for you, maybe you can find out why. --- nnml.el.~6.22.~ Sun Sep 2 11:47:31 2001 +++ nnml.el Tue Sep 4 21:01:51 2001 @@ -352,6 +352,7 @@ (nnml-request-article article group server) (let (nnml-current-directory nnml-current-group + nnml-nov-buffer-alist nnml-article-file-alist) (save-excursion (set-buffer buf) @@ -361,6 +362,7 @@ result)) (progn (nnml-possibly-change-directory group server) + (nnmail-activate 'nnml t) (condition-case () (funcall nnmail-delete-file-function (nnml-article-to-file article))