From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80444 Path: news.gmane.org!not-for-mail From: Antoine Levitt Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: Reviving Gnus after suspend/hibernation Date: Sat, 29 Oct 2011 21:07:55 +0200 Message-ID: <87vcr7ehv8.fsf@gmail.com> References: <87wrc2qmog.fsf@gnu.org> <877h3ule0y.fsf@lifelogs.com> <87hb2ucox4.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1319916626 30127 80.91.229.12 (29 Oct 2011 19:30:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 29 Oct 2011 19:30:26 +0000 (UTC) Cc: ding@gnus.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 29 21:30:21 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RKEbk-0008IR-Kp for ged-emacs-devel@m.gmane.org; Sat, 29 Oct 2011 21:30:20 +0200 Original-Received: from localhost ([::1]:39567 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKEbk-0006WB-3p for ged-emacs-devel@m.gmane.org; Sat, 29 Oct 2011 15:30:20 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:38236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKEbh-0006W4-GC for emacs-devel@gnu.org; Sat, 29 Oct 2011 15:30:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RKEbg-0002pf-6v for emacs-devel@gnu.org; Sat, 29 Oct 2011 15:30:17 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:42322) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKEbf-0002pa-Pf for emacs-devel@gnu.org; Sat, 29 Oct 2011 15:30:16 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RKEbf-0008Fq-0z for emacs-devel@gnu.org; Sat, 29 Oct 2011 21:30:15 +0200 Original-Received: from cab14-1-88-177-9-245.fbx.proxad.net ([88.177.9.245]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 Oct 2011 21:30:15 +0200 Original-Received: from antoine.levitt by cab14-1-88-177-9-245.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 Oct 2011 21:30:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Followup-To: gmane.emacs.devel Original-Lines: 30 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cab14-1-88-177-9-245.fbx.proxad.net Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:145777 gmane.emacs.gnus.general:80444 Archived-At: 27/10/11 19:41, Ted Zlatanov > Asking emacs-devel since the Gnus list didn't have any answers: > > On Mon, 24 Oct 2011 09:23:09 -0400 Ted Zlatanov wrote: > > TZ> On Tue, 18 Oct 2011 18:39:11 +0200 ludo@gnu.org (Ludovic Courtès) wrote: > LC> When Gnus is left plugged or has non-agentized nnimap groups, recovering > LC> from suspend-to-RAM or hibernation has always been a problem for me: > LC> sometimes Emacs is frozen upon resume, trying to get data from some IMAP > LC> stream. > ... > TZ> (Assuming modern GNU/Linux system is the main focus based on your > TZ> commands) > > TZ> Is there a D-BUS signal for this, and can Emacs catch it? If so I could > TZ> try to close the open connections in that handler. > > TZ> What happens on a W32 system? > > Any help is appreciated. I don't know anything about these system events. > > Thanks > Ted Just a data point: I used to have tons of issues like this one (and basically used to quit and run gnus again every time I resumed from suspend). I no longer have any. I _think_ it's because I switched from using a shell connection to a local TCP connection. Also, I used to get random hangs, even with a TCP connection, and they disappeared magically a couple of months ago. I don't know who did that, but good job :-)