From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69216 Path: news.gmane.org!not-for-mail From: John Sullivan Newsgroups: gmane.emacs.gnus.general Subject: Re: Dealing with hanging IMAP connections Date: Sun, 22 Nov 2009 17:48:15 -0500 Message-ID: <87einq6us0.fsf@myles.home.wjsullivan.net> References: <871vjqntqh.fsf@randomsample.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258946168 17045 80.91.229.12 (23 Nov 2009 03:16:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Nov 2009 03:16:08 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M17621@lists.math.uh.edu Mon Nov 23 04:16:01 2009 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1NCPPD-0002fi-UK for ding-account@gmane.org; Mon, 23 Nov 2009 04:16:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1NCPP5-0007B8-4f; Sun, 22 Nov 2009 21:15:51 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1NCLYU-0005yP-Dz for ding@lists.math.uh.edu; Sun, 22 Nov 2009 17:09:18 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1NCLYS-0008G8-IW for ding@lists.math.uh.edu; Sun, 22 Nov 2009 17:09:18 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1NCLYR-0004zo-00 for ; Mon, 23 Nov 2009 00:09:15 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NCLYM-00027F-Cy for ding@gnus.org; Mon, 23 Nov 2009 00:09:10 +0100 Original-Received: from c-67-186-132-73.hsd1.ma.comcast.net ([67.186.132.73]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Nov 2009 00:09:10 +0100 Original-Received: from john by c-67-186-132-73.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Nov 2009 00:09:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-67-186-132-73.hsd1.ma.comcast.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:erba+OY91JUStCCVhMCps9KUU+s= X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69216 Archived-At: David Engster 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. -- John Sullivan Emacs Planner Maintainer http://wjsullivan.net/PlannerMode.html GPG Key: AE8600B6