From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69231 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Dealing with hanging IMAP connections Date: Sun, 29 Nov 2009 02:06:37 +0100 Message-ID: <87d432xhpe.fsf@gnu.org> References: <871vjqntqh.fsf@randomsample.de> <87einq6us0.fsf@myles.home.wjsullivan.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1259515449 332 80.91.229.12 (29 Nov 2009 17:24:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Nov 2009 17:24:09 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M17636@lists.math.uh.edu Sun Nov 29 18:24:02 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 1NEnUm-00027D-2S for ding-account@gmane.org; Sun, 29 Nov 2009 18:23:36 +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 1NEnTW-00050I-3U; Sun, 29 Nov 2009 11:22:18 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1NEYFj-0002Bg-MK for ding@lists.math.uh.edu; Sat, 28 Nov 2009 19:07:03 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1NEYFi-0000AM-Lt for ding@lists.math.uh.edu; Sat, 28 Nov 2009 19:07:03 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1NEYFh-0002jz-00 for ; Sun, 29 Nov 2009 02:07:01 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NEYFf-0001bH-SO for ding@gnus.org; Sun, 29 Nov 2009 02:06:59 +0100 Original-Received: from reverse-83.fdn.fr ([80.67.176.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Nov 2009 02:06:59 +0100 Original-Received: from ludo by reverse-83.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Nov 2009 02:06:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 19 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: reverse-83.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 9 Frimaire an 218 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:2ld4Xz1Z3Io+KgQg0sI2xvjuAAo= X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69231 Archived-At: Hello, John Sullivan writes: > 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. Same for me. That’s also what I do when the laptop resumes from suspend-to-{disk,ram}. (Surprisingly, ‘gnus-agent-toggle-plugged’ doesn’t kill the relevant processes.) In theory we should be able to react to the appropriate D-Bus signals to run ‘kill-process’. Has anyone looked into it? Thanks, Ludo’.