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: Ted Zlatanov
Subject: Re: Reviving Gnus after suspend/hibernation
Date: Thu, 27 Oct 2011 14:07:28 -0500
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux)

On Thu, 27 Oct 2011 20:48:26 +0200 Eli Zaretskii <address@hidden> wrote: 

>> 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?

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

Exactly.  I want to do that on Linux and W32 systems (maybe NS/Mac OS X
as well).  Can you or anyone else help me get started?

Thanks
Ted




reply via email to

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