From 670ead96ee816c4187d968df039b63a4c6356619 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Tue, 8 Mar 2005 00:52:28 +0000 Subject: [PATCH] Synch to No Gnus 200503080040. --- lisp/ChangeLog | 6 ++++++ lisp/nnimap.el | 2 ++ 2 files changed, 8 insertions(+) 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"))))) -- 1.7.10.4