Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 55240

Summary: REQUEST: mutt imap header caching patch
Product: Gentoo Linux Reporter: ferret <ferret-bgo>
Component: Current packagesAssignee: Aron Griffis (RETIRED) <agriffis>
Status: RESOLVED CANTFIX    
Severity: enhancement CC: tomk
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
URL: http://dwyn.net/mutt/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Updated Muttrc to add option for imap header caching
Altered imap header caching patch for mutt 1.5
patch benchmark
Updated ebuild
Updated mutt-1.5.6-r3.ebuild

Description ferret 2004-06-26 07:52:39 UTC
It used to take me ages to download all the headers on my IMAP account.  This
patch is a lifesaver.  There's already a header caching patch for mutt in
portage, but I think we need one for IMAP too.

See the URL above for a patch that works with mutt 1.4
Comment 1 ferret 2004-06-26 07:54:14 UTC
Created attachment 34196 [details]
Updated Muttrc to add option for imap header caching

I'm not sure if this is the right file to patch for this.  Perhaps the default
muttrc for imap users is actually taken from the mutt tarball; in this case
perhaps this feature addition should be added in an einfo in post_inst or
something.
Comment 2 ferret 2004-06-26 07:55:37 UTC
Created attachment 34197 [details, diff]
Altered imap header caching patch for mutt 1.5
Comment 3 ferret 2004-06-26 08:03:18 UTC
*** Bug 55239 has been marked as a duplicate of this bug. ***
Comment 4 Tom Knight (RETIRED) gentoo-dev 2004-06-29 05:08:39 UTC
This works on my box. I did some benchmarks and I've edited the 1.5.6-r2 ebuild which I'll post here.
Comment 5 Tom Knight (RETIRED) gentoo-dev 2004-06-29 05:09:40 UTC
Created attachment 34406 [details]
patch benchmark
Comment 6 Tom Knight (RETIRED) gentoo-dev 2004-06-29 05:13:50 UTC
Created attachment 34407 [details]
Updated ebuild

Just for testing I added the 1.5 patch to my webserver in this ebuild, if/when
this is released my server wouldn't be able to cope, so it would have to be
hosted somewhere else. 

PS I also fixed the ebuild so that it doesn't echo the use flags when the use
function is run.
Comment 7 Tom Knight (RETIRED) gentoo-dev 2004-06-29 06:17:40 UTC
Created attachment 34412 [details]
Updated mutt-1.5.6-r3.ebuild

This time with a proper $Header.
Comment 8 ferret 2004-07-14 10:13:56 UTC
This patch is unstable, it breaks when deleting mail items (it tends to try to
delete the one before in some situations).

Closing.  Please reopen/rereport if the patch is fixed.
Comment 9 ferret 2004-07-14 18:03:04 UTC
I'm currently testing a new patch.  Will report if it works any better.