From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: w32-notification-notify and HAVE_DBUS Date: Fri, 25 Aug 2023 10:17:27 +0300 Message-ID: <83msyfoak8.fsf@gnu.org> References: <878ra062ua.fsf.ref@yahoo.com> <878ra062ua.fsf@yahoo.com> <83o7iwppth.fsf@gnu.org> <87zg2g4ms0.fsf@yahoo.com> <83lee0pksl.fsf@gnu.org> <87v8d43r29.fsf@yahoo.com> <833507ptv3.fsf@gnu.org> <87bkev4ok5.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21589"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 25 09:18:07 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qZR54-0005Py-V1 for ged-emacs-devel@m.gmane-mx.org; Fri, 25 Aug 2023 09:18:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qZR46-0007sN-6s; Fri, 25 Aug 2023 03:17:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZR43-0007s7-83 for emacs-devel@gnu.org; Fri, 25 Aug 2023 03:17:03 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZR41-0002Xz-NN; Fri, 25 Aug 2023 03:17:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=iTL6azXiBefQIT/JiP3pwTKzPtIjhEMJeVEJ/dycuc0=; b=qa8lO9bqInEp Qur/dfew6M600q4WwWXsAi7fj4txFbQPxEzBDt4QRTTgwfTUCq5lo0sHTdXm13+IDh5DD6/YBuKxi 2MAMOYQT97p45JAdROeqBe5oCVhj2B4sTT4ddBfZyB/bwdo1TX9atIDssLEPkOKmMgEAq//LbJb6V EB3cW9yuFRIybOk+EZbv1t7GXa/fLsrpDAT+c/pO4wneWn9AHhlDDPdjkm9I4+QuA/6wp3Pec/87K ZO9fxNgyHuuvMyGTA/+P8I2h4nkCjcCg7Axt4wQCbb6yNuhJ9QFEB83+sN/g3AnQ9hNPQ4z9ftRQ8 H/N1VTMA/1dOj0k8TRZcEw==; In-Reply-To: <87bkev4ok5.fsf@yahoo.com> (message from Po Lu on Fri, 25 Aug 2023 14:35:22 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:309196 Archived-At: > From: Po Lu > Cc: emacs-devel@gnu.org > Date: Fri, 25 Aug 2023 14:35:22 +0800 > > Eli Zaretskii 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.