From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83851 Path: news.gmane.org!not-for-mail From: Vincent Bernat Newsgroups: gmane.emacs.gnus.general Subject: Re: Freeze up on general news scan (g) Date: Tue, 05 Nov 2013 07:03:04 +0100 Message-ID: <87sivb8jxj.fsf@guybrush.luffy.cx> References: <87mxda84nc.fsf@newsguy.com> <871u3y1e0a.fsf@newsguy.com> <87r4bxrj3z.fsf@ericabrahamsen.net> <87iow9u41z.fsf@flea.lifelogs.com> <874n7sc3ov.fsf@ericabrahamsen.net> <87y554qfkj.fsf@flea.lifelogs.com> <87ob5zeepj.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1383631422 4144 80.91.229.3 (5 Nov 2013 06:03:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Nov 2013 06:03:42 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32107@lists.math.uh.edu Tue Nov 05 07:03:47 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VdZjs-0008Pn-Cj for ding-account@gmane.org; Tue, 05 Nov 2013 07:03:44 +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 1VdZjL-0006oo-Nn; Tue, 05 Nov 2013 00:03:11 -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 1VdZjK-0006od-36 for ding@lists.math.uh.edu; Tue, 05 Nov 2013 00:03:10 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1VdZjI-0006ZP-Cw for ding@lists.math.uh.edu; Tue, 05 Nov 2013 00:03:09 -0600 Original-Received: from bart.luffy.cx ([78.47.78.131]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1VdZjG-0007EH-7w for ding@gnus.org; Tue, 05 Nov 2013 07:03:06 +0100 Original-Received: from bart.luffy.cx (localhost [127.0.0.1]) by bart.luffy.cx (Postfix) with ESMTP id A6BB8141FE for ; Tue, 5 Nov 2013 07:03:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=luffy.cx; h=from:to:subject :references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=postfix; bh=bHffaJT7n Z9LGwGWkUOQ4/cSu1k=; b=QNUw2eL5v2z3hfnQfDFYFiv8SOISw1lCp4PJZSFa5 tMdvFuUsvYmM5tosy5Ub2BQnNon9fxDCZ9YdREEcYeDh0UscxTiaXoUXFxTGLUBM p8Jl2lgpk/+XJAoS2UVUeJoNV4PVvMsmGvd2lCPpSEZ+rRWDmPuikJB/I3msbKiq Wc= DomainKey-Signature: a=rsa-sha1; c=simple; d=luffy.cx; h=from:to:subject :references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=postfix; b=Hq5 7mWcHy+c5B3v1xhbGfj0e9T8PqGfHNVor9c3qU0PojrYqKrG8CViur5ZKdhYSK5j KYBnua97xKWyZFnYbIXilNTYz0Wqtc8rmIpOCavdZvnpw8EDCU44Le2hz57FTopQ WDFnGEtvCeq5pi9mIN19kgF8RfAeRk/gQ5P8jC4s= Original-Received: from guybrush.luffy.cx (unknown [IPv6:2a01:e34:ec6d:710:8ea9:82ff:fe6d:94c8]) by bart.luffy.cx (Postfix) with ESMTPS id 59967141CF for ; Tue, 5 Nov 2013 07:03:05 +0100 (CET) Original-Received: by guybrush.luffy.cx (Postfix, from userid 1000) id 5912465A; Tue, 5 Nov 2013 07:03:04 +0100 (CET) In-Reply-To: <87ob5zeepj.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Tue, 05 Nov 2013 10:59:20 +0800") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83851 Archived-At: =E2=9D=A6 5 novembre 2013 03:59 CET, Eric Abrahamsen =C2=A0: >> EA> Thanks for this, at least it's good to know the state of affairs. It >> EA> looks an elisp version of that sequence would be very simple: just c= all >> EA> `gnus-server-close-all-servers', and then `gnus'. >> >> It would be nice to add that to `gnus' as a user option (maybe a boolean >> `gnus-always-reopen-connections'). I worry, however, that adding it >> implicitly says we don't plan to solve the problem. > > I wish I could be of more use, but network connectivity is foreign > territory to me. Where would you propose to add this reopen hook? How > would emacs/gnus know that, for instance, the computer had just resumed > from hibernation? I think that the proposition is to do this "unconditionally". So, when you resume your laptop, you type `M-x gnus` and you get the connections reopened. As to detect lose of connectivity, I think this is quite hard. If depending on D-Bus is OK, Gnus could listen to Network Manager's state (`StateChange` or `StateChanged`) --=20 Use uniform input formats. - The Elements of Programming Style (Kernighan & Plauger)