Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: ding@gnus.org
Subject: Maintaining the list of existing articles for nnimap
Date: Wed, 01 Feb 2012 15:16:02 +0100	[thread overview]
Message-ID: <8762fq4p25.fsf@gnus.org> (raw)

I was thinking about finally implementing keeping track of existing
articles in IMAP folders.  This requires that all nnimap groups that
don't have this data do a complete refresh (once), which might be slow,
but that's OK.

The bigger problem is that if you start Ma Gnus, get the
`(exist (100 . 200))' data in your newsrc, and then start No Gnus, which
doesn't update this, and then start Ma Gnus again, then Ma Gnus will
think that the articles that arrived while you were using No Gnus
doesn't exist.

That's no fun.

Hm...  Gnus could check whether `gnus-newsrc-file-version' is less than
Ma Gnus, and if so, it could delete all `exists' parameters from the
.newsrc.eld, and let Ma Gnus re-sync the data.  That would solve the
problem, but be quite slow if one is switching back and forth a lot...

Hm...  I dunno...

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Sent from my Rome




             reply	other threads:[~2012-02-01 14:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-01 14:16 Lars Ingebrigtsen [this message]
2012-02-01 15:43 ` Andreas Schwab
2012-02-01 19:46   ` Lars Ingebrigtsen

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=8762fq4p25.fsf@gnus.org \
    --to=larsi@gnus.org \
    --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).