emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reviving Gnus after suspend/hibernation


From: Eli Zaretskii
Subject: Re: Reviving Gnus after suspend/hibernation
Date: Thu, 27 Oct 2011 20:48:26 +0200

> From: Ted Zlatanov <address@hidden>
> Date: Thu, 27 Oct 2011 13:37:53 -0500
> 
> Active Emacs network connections are not always closed properly upon
> resuming from suspend.  This is a problem with GnuTLS, which keeps
> waiting for data and hangs Emacs.  So I want to write a resume handler
> that will close all the GnuTLS connections.
> 
> On Linux I think this is done with D-BUS, but is there a way on W32 as
> well?

When the system resumes from suspend, programs are sent a special
message.  Emacs currently ignores this message, but we could add code
to listen to it and do whatever you want it to do.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]