From: Lars Ingebrigtsen <larsi@gnus.org>
To: Kevin Ryde <user42_kevin@yahoo.com.au>
Cc: 30022@debbugs.gnu.org
Subject: bug#30022: gnus nnimap-sequence vs yahoo hang
Date: Fri, 13 Apr 2018 13:41:08 +0200 [thread overview]
Message-ID: <87k1tb9vvv.fsf@mouse.gnus.org> (raw)
In-Reply-To: <87d0z3mqwh.fsf@blah.blah> (Kevin Ryde's message of "Fri, 13 Apr 2018 18:50:22 +1000")
Kevin Ryde <user42_kevin@yahoo.com.au> writes:
> Yes, I see similar
>
> 18:16:44 [imap.mail.yahoo.com] (inhibited)
> 18:16:44 [imap.mail.yahoo.com] 2 CAPABILITY^M
> 18:16:50 [imap.mail.yahoo.com] 3 SELECT "INBOX"^M
>
> But I think this does not include output of open-protocol-stream
> :capability-command "1 CAPABILITY" (in nnimap-open-connection-1).
Oh, I see. Well spotted. I think the simplest solution here is to
start off the nnimap sequence at a higher number so that these things
don't get in each others way.
Does the following patch (pushed to Emacs master now) fix the problem
for you?
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
index 01d7948afb..65d40eba69 100644
--- a/lisp/gnus/nnimap.el
+++ b/lisp/gnus/nnimap.el
@@ -1865,7 +1865,7 @@ nnimap-find-connection
(setq nnimap-connection-alist (delq entry nnimap-connection-alist))
nil))))
-(defvar nnimap-sequence 0)
+(defvar nnimap-sequence 5)
(defun nnimap-send-command (&rest args)
(setf (nnimap-last-command-time nnimap-object) (current-time))
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2018-04-13 11:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87wp0svqgr.fsf@blah.blah>
2018-04-11 21:01 ` bug#30022: gnus nnimap-sequence vs yahoo hang Lars Ingebrigtsen
2018-04-13 8:50 ` Kevin Ryde
2018-04-13 11:41 ` Lars Ingebrigtsen [this message]
2018-04-14 1:51 ` Kevin Ryde
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k1tb9vvv.fsf@mouse.gnus.org \
--to=larsi@gnus.org \
--cc=30022@debbugs.gnu.org \
--cc=user42_kevin@yahoo.com.au \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).