emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#42977: closed (28.0.50; New gnus-dbus library providing (optional) D


From: GNU bug Tracking System
Subject: bug#42977: closed (28.0.50; New gnus-dbus library providing (optional) D-Bus->Gnus integration)
Date: Thu, 27 Aug 2020 21:21:02 +0000

Your message dated Thu, 27 Aug 2020 14:20:26 -0700
with message-id <87y2lzg50l.fsf@ericabrahamsen.net>
and subject line Re: bug#42977: 28.0.50; New gnus-dbus library providing 
(optional) D-Bus->Gnus integration
has caused the debbugs.gnu.org bug report #42977,
regarding 28.0.50; New gnus-dbus library providing (optional) D-Bus->Gnus 
integration
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
42977: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42977
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- 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

Attachment: 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 ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]