From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66650 Path: news.gmane.org!not-for-mail From: Jake Colman Newsgroups: gmane.emacs.gnus.general Subject: Re: the Exchange 2007 fix Date: Tue, 01 Apr 2008 22:59:41 -0400 Message-ID: <76ve3155cy.fsf@dev-d01.ppllc.com> References: <86wsnmvrmx.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207105232 24828 80.91.229.12 (2 Apr 2008 03:00:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Apr 2008 03:00:32 +0000 (UTC) Cc: "nathanw\@MIT.EDU" , Ted Zlatanov , "simon\@josefsson.org" , "ding\@gnus.org" To: "mdharnois\@gmail.com" Original-X-From: ding-owner+M15134=ding+2Daccount=gmane.org@lists.math.uh.edu Wed Apr 02 05:01:02 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 1JgtDh-000585-1j for ding-account@gmane.org; Wed, 02 Apr 2008 05:01:01 +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 1JgtD4-0008Gs-N7 for ding-account@gmane.org; Tue, 01 Apr 2008 22:00:22 -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 1JgtD3-0008Gn-MT for ding@lists.math.uh.edu; Tue, 01 Apr 2008 22:00:21 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JgtCx-0001Tb-Bk for ding@lists.math.uh.edu; Tue, 01 Apr 2008 22:00:21 -0500 Original-Received: from [69.7.239.34] (helo=dev-d01.ppllc.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1JgtD6-00050f-00 for ; Wed, 02 Apr 2008 05:00:24 +0200 Original-Received: from dev-d01.ppllc.com (localhost [127.0.0.1]) by dev-d01.ppllc.com (8.13.8+Sun/8.13.8) with ESMTP id m322xgYk003241; Tue, 1 Apr 2008 22:59:42 -0400 (EDT) Original-Received: (from colman@localhost) by dev-d01.ppllc.com (8.13.8+Sun/8.13.8/Submit) id m322xgC3003240; Tue, 1 Apr 2008 22:59:42 -0400 (EDT) X-Authentication-Warning: dev-d01.ppllc.com: colman set sender to colman@ppllc.com using -f X-Attribution: Jake X-URL: http://www.principiapartners.com In-Reply-To: (mdharnois@gmail.com's message of "Tue, 1 Apr 2008 19:03:43 -0400") User-Agent: Gnus/5.110007 (No Gnus v0.7) XEmacs/21.4.17 (usg-unix-v, no MULE) X-Spam-Score: -2.5 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66650 Archived-At: >>>>> "m" == mdharnois writes: m> nathanw@MIT.EDU (Nathan J. Williams) writes: >> Ted Zlatanov writes: >> >>> On Mon, 24 Mar 2008 14:31:16 -0500 "Michael Harnois" m> wrote: >>> MH> It doesn't seem to be the only fix needed, but I think it's the Big m> Kahuna. MH> mharnois:lisp mdharnois$ diff -urN nnimap.el nnimap.el.orig MH> --- nnimap.el 2008-03-24 14:16:40.000000000 -0500 MH> +++ nnimap.el.orig 2008-02-07 11:36:36.000000000 -0600 MH> @@ -555,7 +555,7 @@ MH> (imap-mailbox-select group examine)) MH> (let (minuid maxuid) MH> (when (> (imap-mailbox-get 'exists) 0) MH> - (imap-fetch "1:*" "UID" nil 'nouidfetch) MH> + (imap-fetch "1,*" "UID" nil 'nouidfetch) MH> (imap-message-map (lambda (uid Uid) MH> (setq minuid (if minuid (min minuid uid) uid) MH> maxuid (if maxuid (max maxuid uid) uid))) >>> >>> Since it was a tiny fix I comitted it. It seems to work fine with >>> Exchange 2007 and Courier IMAP. >> >> Please see: http://comments.gmane.org/gmane.emacs.gnus.general/65855 >> >> I think we can use "1,*:*" instead of "1:*" to get the min-max effect >> without the effect of pulling down all the UIDs in the group; it's >> what I've been using in my local copy of Gnus since December against >> an Exchange 2007 server. >> >> - Nathan m> A thing of beauty. Actually, my great source of perplexment is that I m> pored over RFC 3501 for hours and could not find an example of the "1,*" m> syntax anywhere. Nathan, Does a 'B m' command work for you to move messages between folders? ...Jake -- Jake Colman Director of Software Development Principia Partners LLC 101 West Elm Street Suite 620 Conshohocken, PA 19428 +1 (610) 755-9786 www.principiapartners.com