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

Björn Bidar <[email protected]> Sun, 29 Sep 2024 14:12:04 +0300
Newsgroups gmane.emacs.gnus.general
Message-ID <[email protected]>
I'm now replying to Micheal's message that didn't reach ding and sending
it also there.

Michael Albinus <[email protected]> writes:

> Hi Björn,
>
> I'm not sure whether my reply has reached you, so I forward it to you
> directly.
>
> From:  Michael Albinus <[email protected]>
> Subject: Re: gnus-dbus-close-on-sleep  does not close servers
> To:  [email protected]
> Date: Thu, 26 Sep 2024 20:44:58 +0300 (2 days, 17 hours, 16 minutes ago)
>
> Björn Bidar <[email protected]> writes:
>
>> Hey,
>
> Hi Björn,
>
>> I'm using `gnus-dbus-close-on-sleep'. However when I suspend the
>> connections are not closed.
>> When resuming the connection are set down, meaning I get 'Server
>> nnimap+server previously determined to be down; not retrying'.
>>
>> How could I debug this issue further, did anyone else try to use the
>> option?
>> Any pointers what could be wrong?
>
> 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))