Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: Something very wrong here
Date: Tue, 04 Sep 2001 21:08:51 +0200	[thread overview]
Message-ID: <iluk7zezscc.fsf@barbar.josefsson.org> (raw)
In-Reply-To: <m1oforj5oc.fsf@reader.newsguy.com> (Harry Putnam's message of "Tue, 04 Sep 2001 09:12:51 -0700")

Harry Putnam <reader@newsguy.com> 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))



  parent reply	other threads:[~2001-09-04 19:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-04  2:37 Harry Putnam
2001-09-04 13:47 ` Kai Großjohann
2001-09-04 14:38 ` Simon Josefsson
2001-09-04 16:12   ` Harry Putnam
2001-09-04 17:54     ` Kai Großjohann
2001-09-05  2:58       ` Harry Putnam
2001-09-05 10:02         ` Kai Großjohann
2001-09-04 19:08     ` Simon Josefsson [this message]
2001-09-05 20:03       ` Harry Putnam
2001-09-05 20:29         ` Simon Josefsson
2001-09-05 22:47           ` Harry Putnam
2001-09-05 23:42             ` Harry Putnam
2001-09-05 21:45         ` Kai Großjohann
2001-09-05 22:13           ` Harry Putnam

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=iluk7zezscc.fsf@barbar.josefsson.org \
    --to=jas@extundo.com \
    --cc=ding@gnus.org \
    /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).