From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66656 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: the Exchange 2007 fix Date: Wed, 02 Apr 2008 16:29:53 +0200 Message-ID: <87k5jgcota.fsf@mocca.josefsson.org> References: <86wsnmvrmx.fsf@lifelogs.com> <87zlsdurjm.fsf@mocca.josefsson.org> <76zlsd55fm.fsf@dev-d01.ppllc.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207146702 22935 80.91.229.12 (2 Apr 2008 14:31:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Apr 2008 14:31:42 +0000 (UTC) Cc: "nathanw\@MIT.EDU" , Ted Zlatanov , Michael Harnois , "ding\@gnus.org" To: Jake Colman Original-X-From: ding-owner+M15140@lists.math.uh.edu Wed Apr 02 16:32:14 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jh40B-00045q-32 for ding-account@gmane.org; Wed, 02 Apr 2008 16:31:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Jh3ys-0004B8-UR; Wed, 02 Apr 2008 09:30:26 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Jh3yr-0004B1-UT for ding@lists.math.uh.edu; Wed, 02 Apr 2008 09:30:25 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1Jh3yl-0006Ua-KY for ding@lists.math.uh.edu; Wed, 02 Apr 2008 09:30:25 -0500 Original-Received: from yxa.extundo.com ([83.241.177.38]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Jh3yr-0000FX-00 for ; Wed, 02 Apr 2008 16:30:25 +0200 Original-Received: from mocca.josefsson.org (yxa.extundo.com [83.241.177.38]) (authenticated bits=0) by yxa.extundo.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id m32ETrNF016105 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Apr 2008 16:29:55 +0200 In-Reply-To: <76zlsd55fm.fsf@dev-d01.ppllc.com> (Jake Colman's message of "Tue, 01 Apr 2008 22:58:05 -0400") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) OpenPGP: id=B565716F; url=http://josefsson.org/key.txt Mail-Copies-To: nobody X-Hashcash: 1:22:080402:mdharnois@gmail.com::hhA5jgVx3RcuGp3K:2X8j X-Hashcash: 1:22:080402:colman@ppllc.com::p2MQiH2gDvO9HRkS:4NRc X-Hashcash: 1:22:080402:nathanw@mit.edu::J2k/ouiDX2yXdq6K:AECI X-Hashcash: 1:22:080402:tzz@lifelogs.com::bbANKih+pxC/Xiuv:CSZo X-Hashcash: 1:22:080402:ding@gnus.org::d/c8p8iH02WbHDgE:NI6d X-Spam-Status: No, score=-0.0 required=4.0 tests=SPF_PASS autolearn=disabled version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on yxa-iv X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on yxa.extundo.com X-Virus-Status: Clean X-Spam-Score: -2.5 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66656 Archived-At: Jake Colman writes: > SJ> So maybe this patch would work better? However, it doesn't take care of > SJ> the imap.el problems you mentioned in that thread. Perhaps the > SJ> bug-workaround variable should be a imap.el variable rather than a > SJ> nnimap.el variable? Hm. > > SJ> --- nnimap.el 01 Apr 2008 16:27:27 +0200 7.45 > SJ> +++ nnimap.el 02 Apr 2008 00:38:11 +0200 > SJ> @@ -568,7 +568,7 @@ > SJ> (imap-mailbox-select group examine)) > SJ> (let (minuid maxuid) > SJ> (when (> (imap-mailbox-get 'exists) 0) > SJ> - (imap-fetch (if nnimap-enable-minmax-bug-workaround "1:*" "1,*") > SJ> + (imap-fetch (if nnimap-enable-minmax-bug-workaround "1,*:*" "1,*") > SJ> "UID" nil 'nouidfetch) > SJ> (imap-message-map (lambda (uid Uid) > SJ> (setq minuid (if minuid (min minuid uid) uid) > > I've applied this patch and it works - but I don't think I see any > performance improvement. > > For example, when I enter a group with a very large number of read > messages and only 2 or 3 unread messages, I see the following message > for an extended period of time: > > nnimap: Updating info for nnimap+exchange-d01:INBOX/Principia... > > For the record, I am not using nnimap.el from cvs. Instead I patched my > own copy of nnimap.el from two weeks ago to use "1,*:*". I don't think > there is any other substantive change that I missed. What's in *imap-log* if you enable imap-log after this has happened? For the 1,*:* command do you get a two-line response or a many-line response? /Simon