Re: gnus-dbus-close-on-sleep does not close servers
Michael Albinus <[email protected]> Mon, 30 Sep 2024 11:14:06 +0200
| Newsgroups | gmane.emacs.gnus.general |
|---|---|
| Message-ID | <[email protected]> |
Björn Bidar <[email protected]> writes: Hi Björn, >> Instrument gnus-dbus-sleep-handler, for example by >> (trace-function-background 'gnus-dbus-sleep-handler) >> >> Send your system to sleep. After it wakes up, Emacs shall have a buffer >> *trace-output* which shows the calls of gnus-dbus-sleep-handler. > > Here's the output: > > ====================================================================== > 1 -> (gnus-dbus-sleep-handler t) > 1 <- gnus-dbus-sleep-handler: nil > ====================================================================== > 1 -> (gnus-dbus-sleep-handler nil) > 1 <- gnus-dbus-sleep-handler: nil Exactly as expected. The first call is due to the signal "org.freedesktop.login1.Manager.PrepareForSleep" with argument true. This should invoke (gnus-close-all-servers) . That's all what I can help. The rest must be commented by the GNUS wizards. > Thank you. > > Best Regards, > > Björn Best regards, Michael.