Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: slow nnimap moves due do many SELECTs
Date: Wed, 22 Sep 2010 12:25:58 -0500	[thread overview]
Message-ID: <877hidelll.fsf@lifelogs.com> (raw)
In-Reply-To: <87sk11n1rg.fsf@maru.md5i.com>

On Wed, 22 Sep 2010 13:09:39 -0400 Michael Welsh Duggan <md5i@md5i.com> wrote: 

MWD> Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
>> Ted Zlatanov <tzz@lifelogs.com> writes:
>> 
>>> Moving N articles results in:
>>> 
>>> 09:00:37 190 SELECT "INBOX"
...
>>> 09:00:37 195 SELECT "INBOX.ding"

>> Hm.  Well, the thing is that we need to select the group we moved to to
>> find out what the article number we got was.  Because Gnus needs that to
>> copy over the marks and other stuff.  So copying an article from group A
>> to group B involves at least to SELECTs.

MWD> You may not need to copy over the marks.  The spec says: "The flags and
MWD> internal date of the message(s) SHOULD be preserved, and the Recent flag
MWD> SHOULD be set, in the copy."  If the SHOULD is bothersome, it would be
MWD> nice to have a per-server variable we can set if we know that that
MWD> server handles this correctly. 

I hope that's well-supported, because SELECTs are very expensive on at
least Courier IMAP and probably most other IMAP servers.

Ted




      parent reply	other threads:[~2010-09-22 17:25 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-22 14:19 Ted Zlatanov
2010-09-22 16:53 ` Lars Magne Ingebrigtsen
2010-09-22 17:09   ` Michael Welsh Duggan
2010-09-22 17:17     ` Lars Magne Ingebrigtsen
2010-09-22 17:52       ` Michael Welsh Duggan
2010-09-22 17:57         ` Lars Magne Ingebrigtsen
2010-09-28 13:30           ` Ted Zlatanov
2010-09-29 21:46             ` Lars Magne Ingebrigtsen
2010-09-30 15:50               ` Ted Zlatanov
2010-09-30 16:35                 ` Lars Magne Ingebrigtsen
2010-09-30 16:43                   ` Lars Magne Ingebrigtsen
2010-09-30 18:11                     ` Ted Zlatanov
2010-09-30 18:16                       ` Lars Magne Ingebrigtsen
2010-09-30 16:54                   ` Ted Zlatanov
2010-09-30 17:02                     ` Lars Magne Ingebrigtsen
2010-09-30 15:22             ` Austin F. Frank
2010-09-22 17:25     ` Ted Zlatanov [this message]

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=877hidelll.fsf@lifelogs.com \
    --to=tzz@lifelogs.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).