--- Begin Message ---
Subject: |
28.0.50; New gnus-dbus library providing (optional) D-Bus->Gnus integration |
Date: |
Fri, 21 Aug 2020 13:43:07 -0700 |
The attached patch provides a new gnus-dbus.el library, allowing systems
with dbus support to register a signal that closes all Gnus servers when
the system is going down for sleep. This is kind of a stop-gap solution
for the larger problems discussed in #40748.
It only does anything if Emacs has been compiled with dbus support, and
if the user sets the `gnus-dbus-close-on-sleep' to non-nil (it defaults
to nil).
Right now I've done this by checking the value of that option in
`gnus-1', but I could just as easily have the library add a startup
hook.
I assume this would require a mention in the manual. Is it something
we'd add to NEWS, as well?
Thanks,
Eric
0001-Add-basic-D-Bus-integration-to-Gnus.patch
Description: Text Data
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#42977: 28.0.50; New gnus-dbus library providing (optional) D-Bus->Gnus integration |
Date: |
Thu, 27 Aug 2020 14:20:26 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> I think it's more a matter of reducing confusion for hackers. If I do
>> `gnus-close-server' followed by `gnus-server-status', it tells me the
>> server is open -- not very helpful.
>>
>> The patch is pretty simple.
>
> Looks good to me.
Cool, in it goes. It turns out the signal needed to be :system after
all, not :session, so I made that change as well, and am closing this
report.
Thanks,
Eric
--- End Message ---