From: Bjorn Solberg <bjorn_ding@hekneby.org>
Subject: Re: nnimap fails to fetch some articles
Date: Mon, 07 Mar 2005 14:40:06 -0800 [thread overview]
Message-ID: <m3sm37w055.fsf@pacbell.net> (raw)
In-Reply-To: <ilubr9vi0z7.fsf@latte.josefsson.org> (Simon Josefsson's message of "Mon, 07 Mar 2005 22:45:48 +0100")
Simon Josefsson writes:
[...]
> Ah, thanks, that is it. The IMAP server returned the articles out of
> order. Which I think is perfectly legal. Maybe the following patch
> help? Untested.
> --- nnimap.el 04 Mar 2005 17:59:01 +0100 7.17
> +++ nnimap.el 07 Mar 2005 22:45:30 +0100
> @@ -710,6 +710,8 @@
> (if (imap-capability 'IMAP4rev1)
> (format "BODY.PEEK[HEADER.FIELDS %s])" headers)
> (format "RFC822.HEADER.LINES %s)" headers)))))
> + (with-current-buffer nntp-server-buffer
> + (sort-lines))
> (and (numberp nnmail-large-newsgroup)
> (> nnimap-length nnmail-large-newsgroup)
> (nnheader-message 6 "nnimap: Retrieving headers...done")))))
I did
--- nnimap.el 04 Mar 2005 17:59:01 +0100 7.17
+++ nnimap.el 07 Mar 2005 22:45:30 +0100
@@ -710,6 +710,8 @@
(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")))))
and that seems to have done the trick. Thank you for the help!
Bjorn.
next prev parent reply other threads:[~2005-03-07 22:40 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-05 0:47 Bjorn Solberg
2005-03-05 11:00 ` Simon Josefsson
2005-03-07 18:35 ` Bjorn Solberg
2005-03-07 21:45 ` Simon Josefsson
2005-03-07 22:00 ` Bjorn Solberg
2005-03-07 22:40 ` Bjorn Solberg [this message]
2005-03-08 0:40 ` Simon Josefsson
2005-03-08 19:44 ` Reiner Steib
2005-03-08 21:32 ` Simon Josefsson
2005-03-09 14:11 ` David S. Goldberg
2005-03-09 17:43 ` Ted Stern
2005-03-10 15:56 ` David S. Goldberg
2005-03-09 18:14 ` Bjorn Solberg
2005-03-09 19:52 ` David S. Goldberg
2005-03-08 22:42 ` Arne Jørgensen
2005-03-10 9:22 ` Simon Josefsson
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=m3sm37w055.fsf@pacbell.net \
--to=bjorn_ding@hekneby.org \
/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).