Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Subject: Re: nnimap problem solved by removing .agentview and .overview
Date: Thu, 12 Aug 2004 17:46:22 +0200	[thread overview]
Message-ID: <iluk6w44awh.fsf@latte.josefsson.org> (raw)
In-Reply-To: <jk4vffo9yp8.fsf@W003275.na.alarismed.com>

"Steven E. Harris" <seh@panix.com> writes:

> Kevin Greiner <kgreiner@xpediantsolutions.com> writes:
>
>> The problem is that, when the agent is turned on, your backend
>> requests don't go directly to the backend.  They instead go to the
>> agent which tries to respond using what it has locally cached.  If,
>> and only if, you request something that is not in the cache, will the
>> agent request the MISSING content from the real backend.
>
> How is one ever able to see something that something exists that is
> not locally cached? How does Gnus ever know that there is something
> new on the IMAP server that it has not seen?
>
> Also, I thought this behind-the-back-change is what the IMAP
> UIDVALIDITY response is supposed to help discern. I thought that with
> UIDVALIDITY Gnus could detect that it wasn't the last client to have
> altered the mailbox. Reading RFC 3501, I see that's not the case;
> change in UIDVALIDITY only warns that the old message IDs may have
> changed.
>
> What if, upon contacting the IMAP server and noting agreeable
> UIDVALIDITY, Gnus does a SEARCH or UID query from its last known
> message ID, checking to see if any new IDs are present that would not
> have appeared in a check for what is UNSEEN? Isn't there some way like
> this to figure out that the server has messages that the client has
> never heard of?

Gnus is supposed the invoke these SEARCH requests every time, upon
entering the group, to sync all flags, and its list of which articles
exists.  However, if you only press 'g' and then ask the agent to
fetch articles, the group might not have been entered, so nnimap
haven't had any chance of updating the information.

However, if entering and exiting a group when plugged in doesn't
notice all articles, there is a bug.  I suspect the problem lies in
the agent rather than in nnimap, or (perhaps even more likely) in
interaction between nnimap and the agent.

Is there a simple recipe for reproducing this?

>> Frankly, I don't see how to make the agent work better with nnimap
>> without introducing nnimap specific code into the agent or changing
>> the backend interface.  Neither is something to take lightly so I
>> don't believe that this situation will be changing anytime soon.
>
> Are these interfaces documented somewhere? It's hard to comment on
> potential solutions without knowing the current constraints.

I'd even take another step back: Exactly what problem is in the design
of agent make it incompatible with nnimap?  I believe the designs are
pretty compatible.

> Again, it's surprising that even after four or five years of Gnus
> supporting IMAP, we still haven't done better than other IMAP
> clients.

Not many people are working on nnimap.el, nor improving the generic
backend interface, these days, it seems...




  reply	other threads:[~2004-08-12 15:46 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-11 21:36 Mats Lidell
2004-08-11 22:05 ` Steven E. Harris
2004-08-12  2:11 ` Kevin Greiner
2004-08-12 15:13   ` Steven E. Harris
2004-08-12 15:46     ` Simon Josefsson [this message]
2004-08-12 16:08       ` Steven E. Harris
2004-08-12 16:48         ` Simon Josefsson
2004-08-12 17:26           ` Steven E. Harris
2004-08-12 19:31             ` Simon Josefsson
2004-08-16 15:02               ` Steven E. Harris
2004-08-16 15:11                 ` Steven E. Harris
2004-08-16 15:31                 ` Simon Josefsson
2004-08-16 16:45                   ` Steven E. Harris
2004-08-16 16:59                     ` Simon Josefsson
2004-08-16 17:50                       ` gnus-parameters remodeled for Topics (was: nnimap problem solved by removing .agentview and .overview) Ted Zlatanov
2004-08-16 20:03                         ` gnus-parameters remodeled for Topics Steven E. Harris
2004-08-17  3:13                   ` nnimap problem solved by removing .agentview and .overview Steven E. Harris
2004-08-17  8:23                     ` Simon Josefsson
     [not found]                       ` <ilupt5q2mwv.fsf-Hx3HMpEclzRikQyLtWShHUB+6BGkLq7r@public.gmane.org>
2004-08-17 11:59                         ` Jochen Küpper
2004-08-17 15:50                       ` Steven E. Harris
2004-08-17 16:40                         ` Simon Josefsson
2004-08-12 19:49       ` Mats Lidell
2004-08-12 20:35         ` Simon Josefsson
2004-08-20 22:09           ` Mats Lidell
2004-08-12 21:30       ` Kevin Greiner
2004-08-12 22:28         ` Simon Josefsson
2004-08-16 17:45       ` Ted Zlatanov
2004-08-16 18:34         ` Chris Green
2004-08-16 19:43           ` Steven E. Harris
2004-08-16 19:54         ` Steven E. Harris
2004-08-17 11:39         ` Steinar Bang

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=iluk6w44awh.fsf@latte.josefsson.org \
    --to=jas@extundo.com \
    /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).