Gnus development mailing list
 help / color / mirror / Atom feed
From: prj@po.cwru.edu (Paul Jarc)
Subject: Re: gnus marks nonexistent articles
Date: Mon, 09 Dec 2002 00:50:02 -0500	[thread overview]
Message-ID: <m3isy3rba7.fsf@multivac.cwru.edu> (raw)
In-Reply-To: <iluvg259ikd.fsf@extundo.com> (Simon Josefsson's message of "Sun, 08 Dec 2002 06:38:10 +0100")

Simon Josefsson <jas@extundo.com> wrote:
> Nnimap tries hard to not reset Gnus' marks but only update them with
> correct information from the server.  So if Gnus thinks a non-existing
> article has some set of marks, nnimap never changes it.

Ok.  nnmaildir is pushier.

> 		  ;; we can't return '(1) since this isn't a "list of ranges",
> 		  ;; and we can't return '((1)) since g-list-of-unread-articles
> 		  ;; is buggy so we return '((1 . 1)).
> 		  seen (if (and (integerp (car seen))
> 				(null (cdr seen)))
> 			   (list (cons (car seen) (car seen)))
> 			 seen))

Are you sure '(1) wouldn't work?  A list of ranges can look like
'(1 (3 . 4)).  nnmaildir doesn't defend against this, and I don't
think I've seen any problems because of it.

> If it is that simple to fix it, I'm for it.

Will do.

> OTOH it might be a good property that backends should never update
> marks on server-non-existing articles; it would allow Gnus to have
> local articles using those article numbers.

I think if that ever happens, Gnus should not trust the backend about
marks for those article numbers anyway, so it shouldn't matter which
marks the backend says those article numbers have.  Gnus can always
restore the missing marks that it knows about after asking the backend
for the marks it knows about.


paul



  reply	other threads:[~2002-12-09  5:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-06 17:41 nnmaildir's article counts are better now Paul Jarc
2002-12-06 19:36 ` Josh Huber
2002-12-06 19:42   ` Paul Jarc
2002-12-06 19:53     ` Josh Huber
2002-12-06 20:09       ` Paul Jarc
2002-12-06 21:01         ` Josh Huber
2002-12-08  2:40           ` gnus marks nonexistent articles (was: nnmaildir's article counts are better now) Paul Jarc
2002-12-08  5:38             ` gnus marks nonexistent articles Simon Josefsson
2002-12-09  5:50               ` Paul Jarc [this message]
2002-12-09  9:44                 ` Simon Josefsson
2002-12-09 19:42                 ` Paul Jarc

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=m3isy3rba7.fsf@multivac.cwru.edu \
    --to=prj@po.cwru.edu \
    /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).