Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: ding@gnus.org
Subject: Re: Returning to ticks on read-only imap servers
Date: Fri, 08 Oct 2010 00:40:42 +0200	[thread overview]
Message-ID: <m3wrptpqxh.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <8762xdsn0d.fsf@maru.md5i.com>

Michael Welsh Duggan <md5i@md5i.com> writes:

> Hmm...  When does the information about marks need to be known?

Immediately.  :-)

When you do a `g', you get lists of marks and stuff from the server.
(nnimap issues a series of EXAMINE + UID FETCH FLAGS commands.)  If it's
a normal read/write mailbox, then the absence of a \Seen, for instance,
means that Gnus should consider the message to be unread.  If it's a
read-only mailbox, then the absence of \Seen doesn't mean anything, and
Gnus shouldn't alter any of the data it has on the article in question.

So Gnus needs to now the status before doing anything, really, which
seems to imply that nnimap has to do a SELECT on any mailboxes it hasn't
seen before.  Hm.  That's actually not very difficult, since it already
knows this stuff.

So it just means that it has to stash this flag somewhere, and the group
info is as good as place as any, I guess.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




  reply	other threads:[~2010-10-07 22:40 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-05 19:16 Michael Welsh Duggan
2010-10-05 20:25 ` Steinar Bang
2010-10-05 21:01   ` Michael Welsh Duggan
2010-10-07 18:59 ` Lars Magne Ingebrigtsen
2010-10-07 21:37   ` Michael Welsh Duggan
2010-10-07 22:40     ` Lars Magne Ingebrigtsen [this message]
2010-10-08 15:07       ` James Cloos
2010-10-08 17:00         ` Lars Magne Ingebrigtsen
2010-10-08 18:22           ` Julien Danjou
2010-10-08 18:26             ` Lars Magne Ingebrigtsen
2010-10-08 18:28               ` Julien Danjou
2010-10-08 18:49                 ` Lars Magne Ingebrigtsen
2010-10-08 19:34                   ` Julien Danjou
2010-10-08 21:32                     ` Dan Christensen
2010-10-09  6:57                       ` Julien Danjou
2010-10-09  8:10                         ` Michael Welsh Duggan
2010-10-09  8:26                           ` Julien Danjou

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=m3wrptpqxh.fsf@quimbies.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).