Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: info-gnus-english@gnu.org
Subject: Re: Emacs 24 Gnus IMAP Keep Alive to Prevent Disconnect?
Date: Sun, 05 Jan 2014 11:02:26 +0100	[thread overview]
Message-ID: <m3ha9ilpal.fsf@stories.gnus.org> (raw)
In-Reply-To: <87y535jtfk.fsf@sacrideo.us>

arcfide@sacrideo.us (Aaron W. Hsu) writes:

> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>> arcfide@sacrideo.us (Aaron W. Hsu) writes:
>>
>>> What should I be doing to prevent Gnus from hanging with an IMAP
>>> connection that appears connected but that may have been disconnected?
>>> I'd prefer a transparent reconnection or something like that if
>>> possible. 
>>
>> Do you have a network connection that changes IP on your machine (or
>> your router)?  In that case, network connections may hang.
>
> Not very often, and certainly not on a daily basis. Maybe a monthly
> basis, if that. 

Right.  If the server has closed the connection in a normal manner, then
Emacs should detect that, and you shouldn't get any hangs.

Could you try setting `debug-on-quit' and then `C-g' when it hangs?
That may give us more data.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

  reply	other threads:[~2014-01-05 10:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-08 20:59 Aaron W. Hsu
2013-12-09 17:23 ` Dmitrii Kashin
2013-12-25 23:34 ` Lars Ingebrigtsen
2013-12-28  8:01   ` Aaron W. Hsu
2014-01-05 10:02     ` Lars Magne Ingebrigtsen [this message]
2014-01-16 19:50       ` Aaron W. Hsu

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=m3ha9ilpal.fsf@stories.gnus.org \
    --to=larsi@gnus.org \
    --cc=info-gnus-english@gnu.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).