Re: gnus-dbus-close-on-sleep does not close servers

Michael Albinus <[email protected]> Sun, 29 Sep 2024 19:53:53 +0200
Newsgroups gmane.emacs.gnus.general
Message-ID <[email protected]>
Björn Bidar <[email protected]> writes:

Hi Björn,

>> What is the value of gnus-dbus-sleep-registration-object after
>> starting gnus?
>
> The value is:
> ((:signal :system "org.freedesktop.login1.Manager" "PrepareForSleep")
>  ("org.freedesktop.login1" "/org/freedesktop/login1"
>   gnus-dbus-sleep-handler))

This looks proper.

Please evaluate (dbus-list-known-names :system) - it must contain the
service "org.freedesktop.login1".

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.

Best regards, Michael.