From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83860 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Freeze up on general news scan (g) Date: Mon, 11 Nov 2013 10:40:15 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87vbzzhrq8.fsf@flea.lifelogs.com> 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> <87sivb8jxj.fsf@guybrush.luffy.cx> Reply-To: ding@gnus.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1384184419 8926 80.91.229.3 (11 Nov 2013 15:40:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Nov 2013 15:40:19 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32116@lists.math.uh.edu Mon Nov 11 16:40:23 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 1Vftb7-00061f-I3 for ding-account@gmane.org; Mon, 11 Nov 2013 16:40:17 +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 1Vftay-0002je-VB; Mon, 11 Nov 2013 09:40:09 -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 1Vftay-0002jY-4b for ding@lists.math.uh.edu; Mon, 11 Nov 2013 09:40:08 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1Vftaw-0003ML-Dv for ding@lists.math.uh.edu; Mon, 11 Nov 2013 09:40:08 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1Vftav-00060F-0v for ding@gnus.org; Mon, 11 Nov 2013 16:40:05 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Vftau-0005iL-4y for ding@gnus.org; Mon, 11 Nov 2013 16:40:04 +0100 Original-Received: from c-98-229-61-72.hsd1.ma.comcast.net ([98.229.61.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Nov 2013 16:40:04 +0100 Original-Received: from tzz by c-98-229-61-72.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Nov 2013 16:40:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 33 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-229-61-72.hsd1.ma.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:d1k98F1O9u+eUzMDRrm4An3LEP0= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83860 Archived-At: On Tue, 05 Nov 2013 07:03:04 +0100 Vincent Bernat wrote: VB> ❦ 5 novembre 2013 03:59 CET, Eric Abrahamsen  : 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 call 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? VB> I think that the proposition is to do this "unconditionally". So, when VB> you resume your laptop, you type `M-x gnus` and you get the connections VB> reopened. Right. The better way is to do it conditionally but it seems like a hard problem. VB> As to detect lose of connectivity, I think this is quite hard. If VB> depending on D-Bus is OK, Gnus could listen to Network Manager's state VB> (`StateChange` or `StateChanged`) Yup, but NM is hardly universal and too many other things can break the connection. Lars had a big thread about it on emacs-devel. I refresh rarely so I wouldn't mind always reopening, but it does seem like giving up on an interesting problem :) Ted