diff options
author | Miles Bader <miles@gnu.org> | 2005-03-08 23:01:04 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 2005-03-08 23:01:04 +0000 |
commit | ec3c4a4cf2b336d2ca507e30877115a3e37e4df4 (patch) | |
tree | f16cdb50742547b73f0bc69299174f5ad74daa3c /lisp/gnus/nnimap.el | |
parent | 9553cf63a590087b3da58f394725f7e7ea203ed2 (diff) | |
download | emacs-ec3c4a4cf2b336d2ca507e30877115a3e37e4df4.tar.gz |
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-165
Merge from gnus--rel--5.10
Patches applied:
* miles@gnu.org--gnu-2005/gnus--rel--5.10 (patch 37)
- Update from CVS
2005-03-08 Bjorn Solberg <bjorn_ding@hekneby.org> (tiny change)
* lisp/gnus/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).
Diffstat (limited to 'lisp/gnus/nnimap.el')
-rw-r--r-- | lisp/gnus/nnimap.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index 59b0178de42..bd75f8576ff 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el @@ -665,6 +665,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"))))) |