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: Thu, 24 Aug 2023 17:38:50 +0300 Message-ID: <83lee0pksl.fsf@gnu.org> References: <878ra062ua.fsf.ref@yahoo.com> <878ra062ua.fsf@yahoo.com> <83o7iwppth.fsf@gnu.org> <87zg2g4ms0.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21098"; 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 Thu Aug 24 16:39:15 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 1qZBUQ-0005E3-M3 for ged-emacs-devel@m.gmane-mx.org; Thu, 24 Aug 2023 16:39:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qZBTg-0004Yt-57; Thu, 24 Aug 2023 10:38:28 -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 1qZBTe-0004YS-2O for emacs-devel@gnu.org; Thu, 24 Aug 2023 10:38:26 -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 1qZBTd-0001uc-Q4; Thu, 24 Aug 2023 10:38:25 -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=BmdcJGVHVETvXgLawyasdb/W9KzuDzFX2T8yoTUFc6Y=; b=COgnc2W3/x3U xX0nAgpHWIp4bfjdRbERBGPXCiEQ5WlGstSnPUA71aYhQXOxo7UbhE1aELFbT3t0g3CWryejRulJf Js/IO/qJYIrLxKSyfDualHstfEL8TfEFlHoDbE2r3iK5JThrNz1qZ+WkqyOSj8BdbAE5bPNmc7KGL q5hGqn9lODeFMmXACsdTopNpR9yBhxy64wkqe1t+65U3FP1wAuKVclZCsTs2HcgbqYKU8Vq/ihCMC 7ucFmMTodoWpgNFffeUWdQDIneK3VV3WxG7UaVJG4KmGqghhGeSNgvIuddm9l6E99dh52bHT96gwL RmRoM9HzGmYZuzGb1TtlZA==; In-Reply-To: <87zg2g4ms0.fsf@yahoo.com> (message from Po Lu on Thu, 24 Aug 2023 21:01:35 +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:309171 Archived-At: > From: Po Lu > Cc: emacs-devel@gnu.org > Date: Thu, 24 Aug 2023 21:01:35 +0800 > > Eli Zaretskii writes: > > > D-Bus provides its own incompatible notifications > > How are they incompatible when two distinct functions provide them? The notifications they support are different and look differently. Compare notifications-notify in notifications.el with w32-notification-notify. But some of the symbols in these two notification mechanisms clash, see https://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01265.html In general, w32-notification-notify was designed and implemented as a subset of notifications-notify, which requires D-Bus, so if D-Bus is actually compiled in, the fallback is not needed.