From: Vincent Bernat <vincent@bernat.im>
To: ding@gnus.org
Subject: Re: Unable to get all messages in an IMAP group
Date: Wed, 04 Feb 2015 22:35:00 +0100 [thread overview]
Message-ID: <m3zj8t5piz.fsf@neo.luffy.cx> (raw)
In-Reply-To: <m34mr174t4.fsf@neo.luffy.cx> (Vincent Bernat's message of "Wed, 04 Feb 2015 22:19:35 +0100")
❦ 4 février 2015 22:19 +0100, Vincent Bernat <vincent@bernat.im> :
> This doesn't fix everything for me. I think there is another problem.
>
> When I refresh my INBOX with M-g, then do g twice, I get this trace:
>
> 22:15:19 [] 4253 SELECT "INBOX"
> 22:15:19 [] 4254 UID FETCH 1:* FLAGS
>
> Count is correct (all read).
>
> 22:15:28 [exoscale] 4260 EXAMINE "INBOX" (QRESYNC (1402209543 15465))
>
> Count is correct (all read)
>
> 22:15:31 [exoscale] 4355 SELECT "INBOX"
> 22:15:31 [exoscale] 4356 UID FETCH 1:* FLAGS
>
> Count is incorrect (many unread)
>
> I suppose that M-g may not refresh the right server due to the empty
> square brackets in contrast with what is happening with g. This doesn't
> happen with my other INBOX (the primary one).
If I use this patch:
#v+
diff --git a/lisp/nnimap.el b/lisp/nnimap.el
index cdbc2a68709b..8f9afa634a87 100644
--- a/lisp/nnimap.el
+++ b/lisp/nnimap.el
@@ -822,6 +822,7 @@ textual parts.")
(deffoo nnimap-request-group-scan (group &optional server info)
(setq group (nnimap-decode-gnus-group group))
+ (nnimap-change-group group server)
(let (marks high low)
(with-current-buffer (nnimap-buffer)
(erase-buffer)
#v-
I get this trace:
22:33:33 [exoscale] 5936 SELECT "INBOX"
22:33:33 [exoscale] 5937 SELECT "INBOX"
22:33:33 [exoscale] 5938 UID FETCH 1:* FLAGS
So, it seems to use the right IMAP server but the count is the wrong one
(a lot of unread messages). But maybe the group is just borked, I could
use M-c on it. I leave it as is if it needs more debugging.
--
Hell is empty and all the devils are here.
-- Wm. Shakespeare, "The Tempest"
next prev parent reply other threads:[~2015-02-04 21:35 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-02 23:18 Vincent Bernat
2015-02-03 6:42 ` Steinar Bang
2015-02-03 7:40 ` Vincent Bernat
2015-02-03 7:44 ` Vincent Bernat
2015-02-03 8:05 ` Steinar Bang
2015-02-03 8:17 ` Tassilo Horn
2015-02-03 9:09 ` Vincent Bernat
2015-02-03 10:54 ` Steinar Bang
2015-02-03 20:52 ` Vincent Bernat
2015-02-04 6:28 ` Steinar Bang
2015-02-04 20:48 ` Vincent Bernat
2015-02-04 21:10 ` Steinar Bang
2015-02-04 21:11 ` Vincent Bernat
2015-02-04 21:19 ` Vincent Bernat
2015-02-04 21:35 ` Vincent Bernat [this message]
2015-02-05 3:10 ` Lars Ingebrigtsen
2015-02-05 6:27 ` Vincent Bernat
2015-02-05 3:06 ` Lars Ingebrigtsen
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=m3zj8t5piz.fsf@neo.luffy.cx \
--to=vincent@bernat.im \
--cc=ding@gnus.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).