From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80356 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.emacs.gnus.general Subject: Reviving Gnus after suspend/hibernation Date: Tue, 18 Oct 2011 18:39:11 +0200 Message-ID: <87wrc2qmog.fsf@gnu.org> 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 1318956049 19951 80.91.229.12 (18 Oct 2011 16:40:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 18 Oct 2011 16:40:49 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28644@lists.math.uh.edu Tue Oct 18 18:40:45 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 1RGCib-0001xK-5D for ding-account@gmane.org; Tue, 18 Oct 2011 18:40:45 +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 1RGChR-0007a6-AO; Tue, 18 Oct 2011 11:39:33 -0500 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 1RGChP-0007Zu-KD for ding@lists.math.uh.edu; Tue, 18 Oct 2011 11:39:31 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RGChO-0006Jw-L1 for ding@lists.math.uh.edu; Tue, 18 Oct 2011 11:39:31 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RGChM-0001G2-Kd for ding@gnus.org; Tue, 18 Oct 2011 18:39:28 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RGChH-0001Km-4t for ding@gnus.org; Tue, 18 Oct 2011 18:39:23 +0200 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 ; Tue, 18 Oct 2011 18:39:23 +0200 Original-Received: from ludo by reverse-83.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Oct 2011 18:39:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 38 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: reverse-83.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 27 =?iso-8859-1?Q?Vend=E9miaire?= an 220 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.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) Cancel-Lock: sha1:JyDYuH8gucheIh4qxPu3rN+Nc+E= X-Spam-Score: -5.4 (-----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80356 Archived-At: Hello, When Gnus is left plugged or has non-agentized nnimap groups, recovering from suspend-to-RAM or hibernation has always been a problem for me: sometimes Emacs is frozen upon resume, trying to get data from some IMAP stream. With Emacs 23, I would typically unfreeze it by running ‘killall gnutls-cli’ (!). With native GnuTLS support in Emacs 24, this is no longer possible, so it goes like this: --8<---------------cut here---------------start------------->8--- $ gdb $(type -P emacs) $(pidof emacs) [...] 0x00007f2345838813 in __select_nocancel () from /nix/store/vxycd107wjbhcj720hzkw2px7s7kr724-glibc-2.12.2/lib/libc.so.6 (gdb) return (int)-1 Make selected stack frame return now? (y or n) y #0 0x00000000004eed33 in xg_select () (gdb) quit A debugging session is active. Inferior 1 [process 2204] will be detached. Quit anyway? (y or n) y Detaching from program: /nix/store/0p4r2m8pscisxj5crd65x34prdrrmkz4-user-environment/bin/emacs, process 2204 --8<---------------cut here---------------end--------------->8--- It works, but I tend to think that the ergonomics could be improved. :-) How do you people do? Thanks, Ludo’.