From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79414 Path: news.gmane.org!not-for-mail From: Antoine Levitt Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus hanging Date: Fri, 08 Jul 2011 13:46:30 +0200 Message-ID: <877h7t3sh5.fsf@gmail.com> References: <4ctyazvfec.fsf@news.eternal-september.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310125841 21986 80.91.229.12 (8 Jul 2011 11:50:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 8 Jul 2011 11:50:41 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27710@lists.math.uh.edu Fri Jul 08 13:50:36 2011 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.69) (envelope-from ) id 1Qf9Zq-0000v2-Qj for ding-account@gmane.org; Fri, 08 Jul 2011 13:50:35 +0200 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 1Qf9Zd-0005GC-84; Fri, 08 Jul 2011 06:50:21 -0500 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 1Qf9Za-0005Fk-3v for ding@lists.math.uh.edu; Fri, 08 Jul 2011 06:50:18 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1Qf9ZZ-0000PM-8O for ding@lists.math.uh.edu; Fri, 08 Jul 2011 06:50:18 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Qf9ZX-0007QM-SK for ding@gnus.org; Fri, 08 Jul 2011 13:50:15 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qf9ZW-0000jT-8x for ding@gnus.org; Fri, 08 Jul 2011 13:50:14 +0200 Original-Received: from ney92-7-78-233-218-202.fbx.proxad.net ([78.233.218.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Jul 2011 13:50:14 +0200 Original-Received: from antoine.levitt by ney92-7-78-233-218-202.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Jul 2011 13:50:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 27 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ney92-7-78-233-218-202.fbx.proxad.net Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -4.0 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79414 Archived-At: 08/07/11 13:14, Dave Abrahams > on Wed Jul 06 2011, Richard Riley wrote: > >> I'm frequently on a wireless connection that fails. Gnus hangs if I do a >> "g" (or more accurately C-u 5 g) in the group buffer to get new headers >> if the link has gone down and come back up again - I assume because of >> non valid network stream handles or whatever. What would be the best way >> to ensure Gnus closes all network links first and reconnects prior to >> the refresh other than quitting or closing/opening from the server >> buffer? > > +1 > > Long-standing issue for me, too. +1 for me also. I also mentioned in some other thread the problem of suspending a laptop with a local connection to an IMAP server (I use dovecot, but I guess it isn't specific to the server on the end). Sometimes the connection will live on, sometimes it will hang, sometimes it will silently fail and not show any new messages. I'm not sure if there's a right way for gnus to react to this sort of things. Maybe it could listen via dbus to system events such as "link has gone down/up"? NetworkManager does send some stuff, but I'm not sure if there's a standard for this.