emacs-devel
[Top][All Lists]
Advanced

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

Re: w32-notification-notify and HAVE_DBUS


From: Eli Zaretskii
Subject: Re: w32-notification-notify and HAVE_DBUS
Date: Fri, 25 Aug 2023 10:17:27 +0300

> From: Po Lu <luangruo@yahoo.com>
> Cc: emacs-devel@gnu.org
> Date: Fri, 25 Aug 2023 14:35:22 +0800
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > Sorry, I don't understand the above.  You seem to be saying that
> > notifications are unrelated to D-Bus?  But doesn't
> > notifications-notify work by using D-Bus capabilities?
> 
> That's what I'm trying to articulate, yes.  notifications-notify merely
> employs D-Bus in the role of a mechanism for communicating with the
> desktop environment; D-Bus itself doesn't provide notifications itself.

OK, but still, D-Bus is required to have notifications-notify work,
right?

> > From my POV, w32-notification-notify thingy is not important enough to
> > care about it.  Newer Windows versions moved to a completely different
> > machinery for desktop notifications, which Emacs doesn't support (and
> > AFAICT cannot support, as using them requires C++).  In all the years
> > since I wrote that code, I've heard no complaints and no evidence of
> > this feature being used by anyone.  So I see no reason to risk
> > potential problems by removing the condition.
> 
> The catalyst for my question was an inquiry by a user regarding the
> absence of `w32-notification-notify' from a Windows build with D-Bus.

You can tell them that they don't want w32-notification-notify when
D-Bus is available, since the latter is superior, AFAIU.



reply via email to

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