Gnus development mailing list
 help / color / mirror / Atom feed
From: Didier Verna <didier@lrde.epita.fr>
Subject: nnml compaction
Date: Mon, 19 Sep 2005 15:29:40 +0200	[thread overview]
Message-ID: <muxd5n589tn.fsf@uzeb.lrde.epita.fr> (raw)


        Dear folks,

I've just committed a long awaited feature (I think): nnml compaction at the
_backend_ level. Here, compaction means removing the gaps between article
numbers (and actually starting again from article number 1). This gives you
more accurate information (like total number of articles and so on).

No more need for each user to create a new group and move all articles to that
group, or any other manual trickery that we've seen before. To use this
feature, you can type 'G z' on an nnml group in the Group Buffer, or you can
type 'z' on an nnml server in the Server Buffer (All groups in this server
will be compacted).

This feature is fully functional for me, but should probably still be
considered beta. In particular, it correctly preserves marks, but nothing is
written to support the agent or the cache. I don't know these beasts and I
don't even know whether I should be concerned by them. Any expertise on the
matter would be appreciated. Also, there is still a display problem with the
server compaction function: it doesn't update the information in the Group
Buffer. 

I've run it on my main nnml server and it took 4 minutes to compact 25000
messages. This result is totally meaningless because I have no information on
the topology of the gaps I had (I just know there were plenty because of
removed spams). However, it shows that the feature works ;-)

Last thing: I've not updated the Gnus manual yet.


Try it, but backup first :-)

-- 
Didier Verna, didier@lrde.epita.fr, http://www.lrde.epita.fr/~didier

EPITA / LRDE, 14-16 rue Voltaire   Tel.+33 (1) 44 08 01 85
94276 Le Kremlin-Bicêtre, France   Fax.+33 (1) 53 14 59 22   didier@xemacs.org



             reply	other threads:[~2005-09-19 13:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-19 13:29 Didier Verna [this message]
2005-09-19 20:38 ` Ken Raeburn
2005-09-20  7:40   ` Didier Verna
2005-09-20 10:28     ` Katsumi Yamaoka
2005-09-20 12:59       ` Didier Verna
2005-09-25 22:15 ` Miles Bader

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=muxd5n589tn.fsf@uzeb.lrde.epita.fr \
    --to=didier@lrde.epita.fr \
    /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).