From: mdharnois@gmail.com (Michael D. Harnois)
To: nathanw@MIT.EDU (Nathan J. Williams)
Cc: Ted Zlatanov <tzz@lifelogs.com>, simon@josefsson.org, ding@gnus.org
Subject: Re: the Exchange 2007 fix
Date: Tue, 01 Apr 2008 18:03:43 -0500 [thread overview]
Message-ID: <m23aq5dvow.fsf@mharnois.gateway.2wire.net> (raw)
In-Reply-To: <mtufxu5b42r.fsf@contents-vnder-pressvre.mit.edu> (Nathan J. Williams's message of "Tue, 01 Apr 2008 18:30:52 -0400")
nathanw@MIT.EDU (Nathan J. Williams) writes:
> Ted Zlatanov <tzz@lifelogs.com> writes:
>
>> On Mon, 24 Mar 2008 14:31:16 -0500 "Michael Harnois" <mdharnois@gmail.com> wrote:
>>
>> MH> It doesn't seem to be the only fix needed, but I think it's the Big 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
A thing of beauty. Actually, my great source of perplexment is that I
pored over RFC 3501 for hours and could not find an example of the "1,*"
syntax anywhere.
next prev parent reply other threads:[~2008-04-01 23:03 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-24 19:31 Michael Harnois
2008-03-28 14:40 ` Ted Zlatanov
2008-04-01 22:30 ` Nathan J. Williams
2008-04-01 22:41 ` Simon Josefsson
2008-04-02 2:58 ` Jake Colman
2008-04-02 14:29 ` Simon Josefsson
2008-04-02 14:11 ` Ted Zlatanov
2008-04-02 14:50 ` Simon Josefsson
2008-04-03 13:11 ` Ted Zlatanov
2008-04-03 19:37 ` Reiner Steib
2008-04-03 20:50 ` Jake Colman
2008-04-08 21:14 ` Ted Zlatanov
2008-04-01 23:03 ` Michael D. Harnois [this message]
2008-04-02 2:59 ` Jake Colman
2008-04-02 14:31 ` Simon Josefsson
2008-04-02 14:48 ` Simon Josefsson
2008-04-02 22:13 ` Jake Colman
2008-04-03 13:07 ` Ted Zlatanov
2008-04-03 15:22 ` Jake Colman
2008-04-03 15:28 ` Simon Josefsson
2008-04-22 11:37 ` Steinar Bang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m23aq5dvow.fsf@mharnois.gateway.2wire.net \
--to=mdharnois@gmail.com \
--cc=ding@gnus.org \
--cc=nathanw@MIT.EDU \
--cc=simon@josefsson.org \
--cc=tzz@lifelogs.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).