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

Re: wl hangs on hibernate



Matt Price wrote:
>I'm encountering a very frustrating bug with wl: when I put my laptop
>to sleep (usually using the hibernate script & tuxonice to do a 'dual'
>suspend, to both ram and disk), emacs is unresponsive on wakeup.  If I
>remember to quite wl before initiating the suspend, I never see this,
>so I'm pretty sure that wl is the culprit.  I imagine it's something to
>do with polling imap or similar process which in another mailer would
>be running in the background; but of course emacs is
>single-threaded...

>so my two questions are:
>- is anyone else seeing similar behaviour; and
>- any ideas on how to diagnose and prevent this?

I don't use hybernate so I cannot confirm this behavior.

You could try to unplug WL before going to hybernate: It would require
you to run Emacs in server or daemon mode and use emacsclient to
connect to Emacs before going to sleep.

I just tried to remotely unplug WL as root and it works:

,----
| root@thinkpad ~ # emacsclient --socket-name /tmp/emacs1000/server --eval "(wl-toggle-plugged 'off)"
`----

All network connections are closed.

Maybe this could help?

HTH
 -- David

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

Attachment: pgplHo_m5phKO.pgp
Description: PGP signature