Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55240 - REQUEST: mutt imap header caching patch
Summary: REQUEST: mutt imap header caching patch
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Aron Griffis (RETIRED)
URL: http://dwyn.net/mutt/
Whiteboard:
Keywords:
: 55239 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-26 07:52 UTC by ferret
Modified: 2004-07-14 18:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Updated Muttrc to add option for imap header caching (Muttrc,750 bytes, text/plain)
2004-06-26 07:54 UTC, ferret
Details
Altered imap header caching patch for mutt 1.5 (mutt-1.5-headercache.patch,24.37 KB, patch)
2004-06-26 07:55 UTC, ferret
Details | Diff
patch benchmark (imap_header_cache_benchmark.txt,2.21 KB, text/plain)
2004-06-29 05:09 UTC, Tom Knight (RETIRED)
Details
Updated ebuild (mutt-1.5.6-r3.ebuild,4.65 KB, text/plain)
2004-06-29 05:13 UTC, Tom Knight (RETIRED)
Details
Updated mutt-1.5.6-r3.ebuild (mutt-1.5.6-r3.ebuild,4.55 KB, text/plain)
2004-06-29 06:17 UTC, Tom Knight (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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.