Gnus development mailing list
 help / color / mirror / Atom feed
From: "Steven E. Harris" <seh@panix.com>
Subject: Re: nnimap problem solved by removing .agentview and .overview
Date: Thu, 12 Aug 2004 09:08:53 -0700	[thread overview]
Message-ID: <jk47js49w4q.fsf@W003275.na.alarismed.com> (raw)
In-Reply-To: <iluk6w44awh.fsf@latte.josefsson.org> (Simon Josefsson's message of "Thu, 12 Aug 2004 17:46:22 +0200")

Simon Josefsson <jas@extundo.com> writes:

> 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.

I never ask the agent to download articles explicitly other than by
way of actually selecting an article, which triggers
gnus-select-article-hook to call gnus-agent-fetch-selected-article.

> However, if entering and exiting a group when plugged in doesn't
> notice all articles, there is a bug.

This happens to me pretty much every day.

> I suspect the problem lies in the agent rather than in nnimap, or
> (perhaps even more likely) in interaction between nnimap and the
> agent.

Yes, I never saw this problem with nnimap itself, only with the agent
in the mix.

> Is there a simple recipe for reproducing this?

Here's my workflow:

o At work, start Gnus in plugged mode. Read e-mail all day.

o At the end of the day, by way of an rsync-dependent script, send all
  my changed score files, ~/.newsrc, and ~/.newsrc.eld files to my
  ISP's disk.
  Note that I don't sync the agent directories. My understanding is
  that those are for local cache management. As I want to have a
  different cache at home, I leave it to Gnus to figure out the
  appropriate caching operations.

o At home, again using this rsync script, download updates to my score
  files, ~/.newsrc, and ~/.newsrc.eld.

o Start Gnus in plugged mode. New IMAP messages are visible, but the
  summary buffer in nnimap groups does not manifest messages that
  arrived while I was reading at work.

o Reversing the process, send changed files to my ISP's disk.

o Get to work again the next day, download changed files from my ISP's
  disk.

o Start Gnus in plugged mode. New IMAP messages are visible, but no
  messages that arrived while I was reading at home are visible.


Running gnus-agent-expire-group coaxes Gnus into re-syncing the
message list, though sometimes my marks on newly-discovered messages
get lost in the process.

> 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.

Yes, that's a good question.

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

Understood. If the problem lies with the agent, then calling nnimap
"done enough" would be just fine.

-- 
Steven E. Harris



  reply	other threads:[~2004-08-12 16:08 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
2004-08-12 16:08       ` Steven E. Harris [this message]
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=jk47js49w4q.fsf@W003275.na.alarismed.com \
    --to=seh@panix.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).