Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: Benchmarking Gnus
Date: Fri, 1 Feb 2002 15:59:22 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.44.0202011551340.2677-100000@yxa.extundo.com> (raw)
In-Reply-To: <87vgdhs33q.fsf@home.lan>

On Fri, 1 Feb 2002, Steinar Bang wrote:

> > Hm. There is two kinds of expiry in a agent group, one is the normal
> > expiring in the real backend via E marks (nnimap), which should work
> > (does it?),
> 
> If you mean: "does it work if you run expiry when plugged?", the
> answer is yes.

Good.

> If you mean: "if you run expiry when unplugged, are the results
> transferred to the nnimap group, when you go plugged?", the answer was
> no, the last time I tried.

Bad.  I wonder why?  Hm.  Ah, nnagent-request-expire-articles needs to
save the invokation into a file that is evaluated when you plug in.  Much
like the "flags" file.  Maybe it can even use that file.  This looks like
a five-liner.

> > but you should also be able to locally expire the agent cache with
> > gnus-agent-expire-articles (does it work?).
> 
> I haven't tried recently, and I'm not in physical reach of my laptop
> right now, but it worked the last time I tried.  Ie. it _did_ expire
> articles older than 7 days, but if I had some old ticked articles,
> the articles in between were re-fetched the next time I fetched
> articles into the agent.
> 
> According to Bjørn Mork earlier in this thread, this should be fixed
> now...? 

Fixed in what sense?  I think the agent MUST have ticked (and generally 
marked articles) locally stored, otherwise the marks will be removed by 
code in gnus-sum.el that removes flags on articles that has disappeared. 
Hm. Maybe that code could be changed, instead of requiring the agent to 
download all marked articles though.

> > The first should delete articles on the server, the second should
> > not.
> 
> > Hm.  I don't use the agent much,
> 
> This means that you don't use a laptop with suspend/resume? :-)

My laptop always has a network connection. :-)

And I never expire anything anyway.  Maybe that can be useful for the
benchmark/design discussion, I have some IMAP groups with >500000 messages
or so.  (Which are completely unusable in Gnus).

> > (Btw, wouldn't it be nice if it was possible to enable the agent via
> > customize instead of forcing people to manually edit ~/.gnus?)
> 
> You can toggle server agent status interactively in the server buffer,
> if that's what you're thinking about...?

No, I was thinking about that you need to call (gnus-agentize) in ~/.gnus 
to enable that code (and other code as well).  I'd like a 
`gnus-use-agent' variable, much like the `gnus-use-cache' variable.




  parent reply	other threads:[~2002-02-01 14:59 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-27  0:30 Lars Magne Ingebrigtsen
2002-01-27  0:35 ` IPmonger
2002-01-27  0:45   ` Lars Magne Ingebrigtsen
2002-01-29 16:03     ` IPmonger
2002-01-30  8:53       ` Kai Großjohann
2002-01-30 16:42         ` IPmonger
2002-01-30 17:38           ` Kai Großjohann
2002-01-30 18:15             ` Lars Magne Ingebrigtsen
2002-01-30 18:42               ` Josh Huber
2002-02-04 23:35       ` IPmonger
2002-02-04 23:48         ` IPmonger
2002-02-04 23:57         ` Daniel Pittman
2002-01-30 22:02 ` Wes Hardaker
2002-01-30 22:09   ` IPmonger
2002-01-31  1:25     ` Wes Hardaker
2002-01-31  3:22       ` ShengHuo ZHU
2002-01-31 15:29         ` Wes Hardaker
2002-01-31 16:34       ` Steinar Bang
2002-01-31 16:54         ` Bjørn Mork
2002-01-31 20:50           ` Steinar Bang
2002-01-31 22:35             ` Bjørn Mork
2002-02-01  7:14               ` Steinar Bang
2002-02-01  9:17                 ` Bjørn Mork
2002-02-01 10:00                   ` Steinar Bang
2002-02-01 11:24                     ` Bjørn Mork
2002-02-01 11:29                     ` Simon Josefsson
2002-02-01 12:52                       ` Steinar Bang
2002-02-01 13:40                         ` Simon Josefsson
2002-02-01 14:12                           ` Steinar Bang
2002-02-01 14:39                             ` ShengHuo ZHU
2002-02-01 15:01                               ` Simon Josefsson
2002-02-01 15:31                                 ` Steinar Bang
2002-02-01 14:59                             ` Simon Josefsson [this message]
2002-02-01 15:18                               ` Steinar Bang
2002-02-01 16:51         ` Wes Hardaker
  -- strict thread matches above, loose matches on Subject: below --
2002-01-16  2:12 Lars Magne Ingebrigtsen
2002-01-16  4:42 ` Russ Allbery
2002-01-19 23:25   ` Lars Magne Ingebrigtsen
2002-01-16  6:35 ` Jesper Harder
2002-01-19 23:25   ` Lars Magne Ingebrigtsen
2002-01-16 12:45 ` Simon Josefsson
2002-01-16 16:51   ` Josh Huber
2002-01-16 17:21     ` Karl Kleinpaste
2002-01-16 19:26   ` Steinar Bang
2002-01-17  2:06   ` Daniel Pittman
2002-01-17 17:04 ` Ami Fischman
2002-01-19 23:28   ` Lars Magne Ingebrigtsen
2002-01-20 19:11     ` Ami Fischman
2002-01-20 19:15       ` Lars Magne Ingebrigtsen
2002-01-20 20:05         ` Ami Fischman
2002-01-20 20:03           ` Lars Magne Ingebrigtsen
2002-01-20 20:33             ` Ami Fischman
2002-01-18 23:42 ` Jesper Harder
2002-01-19 11:38   ` Simon Josefsson

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=Pine.LNX.4.44.0202011551340.2677-100000@yxa.extundo.com \
    --to=jas@extundo.com \
    --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).