From: David Engster <deng@randomsample.de>
To: John Sullivan <john@wjsullivan.net>
Cc: ding@gnus.org
Subject: Re: Dealing with hanging IMAP connections
Date: Mon, 23 Nov 2009 16:50:50 +0100 [thread overview]
Message-ID: <87iqd1b5ph.fsf@randomsample.de> (raw)
In-Reply-To: <87einq6us0.fsf@myles.home.wjsullivan.net> (John Sullivan's message of "Sun, 22 Nov 2009 17:48:15 -0500")
John Sullivan <john@wjsullivan.net> writes:
> David Engster <deng@randomsample.de> writes:
>
>> On my notebook, which is connected via WLAN, my IMAP connection hangs
>> from time to time. When this happens, I completely have to restart Gnus,
>> which I find pretty annoying. Stefan Monnier posted a patch to
>> emacs-help which will open a new connection when you interrupt the
>> current IMAP operation with C-g. I've applied this patch to my
>> installation and find it very useful. I think this or something similar
>> should be applied to imap.el, preferably as a customizable option?
>>
>> Here's the link to Stefan's post:
>>
>> http://article.gmane.org/gmane.emacs.help/69934
>
> Thanks, I'll check that out.
>
> In these situations, you might also try M-x list-processes, then
> (kill-process "imap") or "imap<1>" etc. That's what I often have to do
> when I change networks.
Ah, thanks! That indeed does the trick. I bound that kill-process
command to a key and it works really well. It'd still be nice if Gnus
would do that automatically after some time-out is reached, but I can
live with manually killing the IMAP process for the time being. :-)
Regards,
-David
next prev parent reply other threads:[~2009-11-23 15:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-22 21:18 David Engster
2009-11-22 22:48 ` John Sullivan
2009-11-23 7:59 ` Frank Schmitt
2009-11-30 10:30 ` Bojan Nikolic
2009-11-23 15:50 ` David Engster [this message]
2009-11-29 1:06 ` Ludovic Courtès
2009-11-30 8:53 ` Steinar Bang
2009-11-22 22:58 ` Reiner Steib
2009-11-23 3:02 ` Stefan Monnier
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=87iqd1b5ph.fsf@randomsample.de \
--to=deng@randomsample.de \
--cc=ding@gnus.org \
--cc=john@wjsullivan.net \
/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).