Gnus development mailing list
 help / color / mirror / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: ding@gnus.org
Cc: "Björn Bidar" <bjorn.bidar@thaodan.de>
Subject: Re: gnus-dbus-close-on-sleep  does not close servers
Date: Mon, 30 Sep 2024 11:14:06 +0200	[thread overview]
Message-ID: <875xqdbj1d.fsf@gmx.de> (raw)
In-Reply-To: <87plolshdc.fsf@> (=?utf-8?Q?=22Bj=C3=B6rn?= Bidar"'s message of "Mon, 30 Sep 2024 10:58:07 +0300")

Björn Bidar <bjorn.bidar@thaodan.de> 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.


  reply	other threads:[~2024-09-30  9:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <877cax5f1p.fsf@gmx.de>
2024-09-26 11:51 ` Björn Bidar
2024-09-29 11:12   ` Björn Bidar
2024-09-29 17:53     ` Michael Albinus
2024-09-30  7:58       ` Björn Bidar
2024-09-30  9:14         ` Michael Albinus [this message]
     [not found] <20233.3430688427$1727351570@news.gmane.org>
2024-10-01  9:53 ` James Thomas
2024-10-01 20:42   ` Björn Bidar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875xqdbj1d.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=bjorn.bidar@thaodan.de \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).