Gnus development mailing list
 help / color / mirror / Atom feed
* Reviving Gnus after suspend/hibernation
@ 2011-10-18 16:39 Ludovic Courtès
  2011-10-18 17:15 ` Richard Riley
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Ludovic Courtès @ 2011-10-18 16:39 UTC (permalink / raw)
  To: ding

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’.




^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2011-10-29 19:07 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-18 16:39 Reviving Gnus after suspend/hibernation Ludovic Courtès
2011-10-18 17:15 ` Richard Riley
2011-10-18 18:00   ` Tassilo Horn
2011-10-18 19:14     ` Dave Abrahams
2011-10-19  6:20       ` Tassilo Horn
2011-10-21 15:31       ` Ludovic Courtès
2011-10-21 16:59         ` Steinar Bang
2011-10-21 23:58           ` Dave Abrahams
2011-10-22  9:07             ` Steinar Bang
2011-10-22 20:29               ` Dave Abrahams
2011-10-18 19:13 ` Dave Abrahams
2011-10-24 13:23 ` Ted Zlatanov
2011-10-27 17:41   ` Ted Zlatanov
2011-10-27 18:30     ` Jonas Hörsch
2011-10-28 16:27       ` Richard Riley
2011-10-29 19:07     ` Antoine Levitt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).