On Fri, Mar 01, 2013 at 11:15:58PM -0000, Uday Reddy wrote:
> I hope it came back eventually? If so, it isn't a bug.
It did after a while.
> For dealing with large IMAP folders, it is a good idea to use
> "external messages". Please check the documentation for
> `vm-enable-external-messages'.
I've enabled vm-external-messages for imap, but loading large folders
still takes ages. Would it be worthwhile to look at how other MUAs do it
and try to optimize the code that handles IMAP folders? For comparison,
mutt loads my Debian.debian-devel folder in 3 seconds and records
changes almost instantly. Even after enabling
vm-enable-external-messages, it took vm over 40 minutes to load the
folder using 100% CPU on one of my cores. Loading a folder with 21290
messages took at least 35 minutes (my X session crashed thereabouts),
and emacs cycled between "Debian.debian-mentors: Generating summary...
NNNN", then sorting the messages, then recreating the summary, at least
twice.
Moreover, stuffing / saving the folder Debian.debian-devel (keybinding
'S') after I marked roughly 20 messages as read took over 14 minutes
(from 14:44:22 until 14:58:34).
Might it be worthwhile retitling this bug to "vm unusably slow on large
IMAP folders"? I unfortunately don't yet know any emacs lisp, but am
willing to help out where I can in debugging this issue.
For reference, you can find my .vm file on github[0].
Dear Uday,
On Fri, Mar 01, 2013 at 11:15:58PM -0000, Uday Reddy wrote:
> I hope it came back eventually? If so, it isn't a bug.
It did after a while.
> For dealing with large IMAP folders, it is a good idea to use external- messages' .
> "external messages". Please check the documentation for
> `vm-enable-
I've enabled vm-external- messages for imap, but loading large folders external- messages, it took vm over 40 minutes to load the debian- mentors: Generating summary...
still takes ages. Would it be worthwhile to look at how other MUAs do it
and try to optimize the code that handles IMAP folders? For comparison,
mutt loads my Debian.debian-devel folder in 3 seconds and records
changes almost instantly. Even after enabling
vm-enable-
folder using 100% CPU on one of my cores. Loading a folder with 21290
messages took at least 35 minutes (my X session crashed thereabouts),
and emacs cycled between "Debian.
NNNN", then sorting the messages, then recreating the summary, at least
twice.
Moreover, stuffing / saving the folder Debian.debian-devel (keybinding
'S') after I marked roughly 20 messages as read took over 14 minutes
(from 14:44:22 until 14:58:34).
Might it be worthwhile retitling this bug to "vm unusably slow on large
IMAP folders"? I unfortunately don't yet know any emacs lisp, but am
willing to help out where I can in debugging this issue.
For reference, you can find my .vm file on github[0].
Best wishes,
Ryan
[0] https:/ /github. com/ryanakca/ ryanakca- dotfiles/ blob/94f915674d 625b9c15e5518dd 9c0fc54963b62a5 /.vm
-- ryanak. ca/ | GPG Key 4A11C97A
|_)|_/ Ryan Kavanagh | Debian Developer
| \| \ http://