Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Batch IMAP jobs?
@ 2014-11-11  8:29 mikael.svahnberg
  2015-01-29  7:46 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: mikael.svahnberg @ 2014-11-11  8:29 UTC (permalink / raw)
  To: info-gnus-english

Hi,

I primarily use gnus to read my gmail, and one of the things I like is the ability to quickly and easily mark all the mails that I don't want/need to read and move them away from the inbox (to be compatible with other mail readers e.g. on my phone, I can't just keep them as old articles and let gnus simply not show them).

Any given morning this means that I select 10-20 messages and execute a move command. This is a slow operation and may sometimes take a couple of minutes.

I have a sneaking suspicion (no proof, though) that gnus/nnimap issues one move command per message.

(a) is this true?

(b) if (a), is there a way to change this behaviour so that a single move command for all the selected messages is issued?

(c) if (b), would it make any difference on the speed?


On a side note, when I search messages with (M-s), I get the impression that this is done in the same way (i.e. one IMAP search command is issued for each message), so it ought to be possible to speed things up here too...


/Mikael

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Batch IMAP jobs?
  2014-11-11  8:29 Batch IMAP jobs? mikael.svahnberg
@ 2015-01-29  7:46 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2015-01-29  7:46 UTC (permalink / raw)
  To: info-gnus-english

mikael.svahnberg@gmail.com writes:

> Any given morning this means that I select 10-20 messages and execute
> a move command. This is a slow operation and may sometimes take a
> couple of minutes.
>
> I have a sneaking suspicion (no proof, though) that gnus/nnimap issues
> one move command per message.
>
> (a) is this true?

Yes.  And moving with nnimap (to larger groups, especially) used to be
very slow, but this is fixed in the current git Gnus tree.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-29  7:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-11  8:29 Batch IMAP jobs? mikael.svahnberg
2015-01-29  7:46 ` Lars Ingebrigtsen

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