From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66551 Path: news.gmane.org!not-for-mail From: "Michael Harnois" Newsgroups: gmane.emacs.gnus.general Subject: the Exchange 2007 fix Date: Mon, 24 Mar 2008 14:31:16 -0500 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1206387131 6026 80.91.229.12 (24 Mar 2008 19:32:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Mar 2008 19:32:11 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15037@lists.math.uh.edu Mon Mar 24 20:32:41 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 1JdsPP-0003dq-Cp for ding-account@gmane.org; Mon, 24 Mar 2008 20:32:39 +0100 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 1JdsOG-0004Wj-8B; Mon, 24 Mar 2008 14:31:28 -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 1JdsOE-0004WN-EA for ding@lists.math.uh.edu; Mon, 24 Mar 2008 14:31:26 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JdsO8-0004DE-J5 for ding@lists.math.uh.edu; Mon, 24 Mar 2008 14:31:26 -0500 Original-Received: from rn-out-0910.google.com ([64.233.170.191]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1JdsOG-00084q-00 for ; Mon, 24 Mar 2008 20:31:28 +0100 Original-Received: by rn-out-0910.google.com with SMTP id v46so1463695rnb.15 for ; Mon, 24 Mar 2008 12:31:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=Llcv57huO7j0gEmAcIHePKcQacy/ROnLtSySqvq9ci0=; b=M0XkWAYwZhE+ipXPsen58MhoLaniuJOnHpT4Z9nBBknDAxxxHXRTVzfJL+UkpTTTqpic18E/O695zAYHIkeSFBjlQ+t55ZIJNQnKzZjA4BlCrqBUgww4KuZY1uK1M0s0noDNHWK8TZ+aGHnVsgHXvU4f+KDNgEXAmQp/HCvtkW4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=PCavGm54N41Mlh/2mU6rUrAc034DoGZ5dzyiqM8C6pfepRdF74C+iu9BjopcT+em2UBLW1mzKhht5ksKymx2dWrnp0yhyeQI3uyAqQQNPL/bnlpDLYL/SXOQVCnOzuAVJjtB4r5+DhSJsA09EkLsqIiqJNC5P+eFrlm30Ibbr+0= Original-Received: by 10.115.32.1 with SMTP id k1mr12437779waj.107.1206387076483; Mon, 24 Mar 2008 12:31:16 -0700 (PDT) Original-Received: by 10.114.61.14 with HTTP; Mon, 24 Mar 2008 12:31:16 -0700 (PDT) Content-Disposition: inline X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66551 Archived-At: It doesn't seem to be the only fix needed, but I think it's the Big Kahuna. mharnois:lisp mdharnois$ diff -urN nnimap.el nnimap.el.orig --- nnimap.el 2008-03-24 14:16:40.000000000 -0500 +++ nnimap.el.orig 2008-02-07 11:36:36.000000000 -0600 @@ -555,7 +555,7 @@ (imap-mailbox-select group examine)) (let (minuid maxuid) (when (> (imap-mailbox-get 'exists) 0) - (imap-fetch "1:*" "UID" nil 'nouidfetch) + (imap-fetch "1,*" "UID" nil 'nouidfetch) (imap-message-map (lambda (uid Uid) (setq minuid (if minuid (min minuid uid) uid) maxuid (if maxuid (max maxuid uid) uid)))