From: yamaoka Date: Tue, 8 Mar 2005 00:52:28 +0000 (+0000) Subject: Synch to No Gnus 200503080040. X-Git-Tag: t-gnus-6_17_4-quimby-~533 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=670ead96ee816c4187d968df039b63a4c6356619;p=elisp%2Fgnus.git- Synch to No Gnus 200503080040. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4e9f37b..599cff3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2005-03-08 Bjorn Solberg (tiny change) + + * nnimap.el (nnimap-retrieve-headers-from-server): Sort NOV + buffer (since IMAP server might return FETCH response out of + order, and the nntp buffer must be sorted). + 2005-03-06 Kevin Greiner * gnus-start.el (gnus-convert-old-newsrc): Fixed numeric diff --git a/lisp/nnimap.el b/lisp/nnimap.el index 0811bc3..06e5419 100644 --- a/lisp/nnimap.el +++ b/lisp/nnimap.el @@ -711,6 +711,8 @@ If EXAMINE is non-nil the group is selected read-only." (if (imap-capability 'IMAP4rev1) (format "BODY.PEEK[HEADER.FIELDS %s])" headers) (format "RFC822.HEADER.LINES %s)" headers))))) + (with-current-buffer nntp-server-buffer + (sort-numeric-fields 1 1 (buffer-size))) (and (numberp nnmail-large-newsgroup) (> nnimap-length nnmail-large-newsgroup) (nnheader-message 6 "nnimap: Retrieving headers...done")))))