From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: w32-notification-notify and HAVE_DBUS Date: Fri, 25 Aug 2023 08:26:38 +0800 Message-ID: <87v8d43r29.fsf@yahoo.com> References: <878ra062ua.fsf.ref@yahoo.com> <878ra062ua.fsf@yahoo.com> <83o7iwppth.fsf@gnu.org> <87zg2g4ms0.fsf@yahoo.com> <83lee0pksl.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="682"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 25 02:27:58 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 1qZKgA-000AVV-FN for ged-emacs-devel@m.gmane-mx.org; Fri, 25 Aug 2023 02:27:58 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qZKfC-0003We-3J; Thu, 24 Aug 2023 20:26:58 -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 1qZKf9-0003WQ-Ur for emacs-devel@gnu.org; Thu, 24 Aug 2023 20:26:55 -0400 Original-Received: from sonic314-21.consmr.mail.ne1.yahoo.com ([66.163.189.147]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qZKf7-0004bl-C9 for emacs-devel@gnu.org; Thu, 24 Aug 2023 20:26:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1692923210; bh=EgUCqlB8hdK/xgYhj6JcDrbrwHKfJoV5QROabu6ug5A=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=o6X0gLfP6+T+YnI9FR+00mJ+sg/CM5uSQUz9JZp5Icvz3lDTWsaAeHC1+9RMdVqnm9G43DUNuwQT8+NzU4sLY+XYaSfO4B4jMhtQx0KxrMQFVhu3TBr/DoPD25dcAI97tdenvSVOXXNvOYDsESz0L4hRiSCcCfvMR63EQOG2udLnNlFjVc4qixRP8d4sv63WLRWxfA1SI4i3EzhxdLeysIGg/BQhh54+HV6cQ0N51yCNtdWbQULOzi/Dj71zOdZmflVh5oZSYfl0hwB2M4SyeS9GhC5nBG80/nU0UULcrsOPd/w5Qf80xMzB1mRsT6rBQyfE2bBrFyzgS5dMrpxuVw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1692923210; bh=SESs1/94uOQU3T+ry7NbQJVR7fmpmwgt0hoR8eCLrOJ=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=tephMfqCYXTidtnGf3iXDTZ/UQYhqpNZnOduvwUwvk2hhe0wuOP9lwEVIVwGiu+HSOZ6kmx5SiPgnTT08UD2Uk6AgOq7DRvOwZwASqoo9kHGuSm97t3slYA6qlmAR6+KxqK7Xz4kb0zK+HDmg7dp/gAHWuY4e0GmF1m2TegCdfMLb016/+m6HQPnH/BCuYTWWveHX7LRey0ldrkgHvw7urMbF1wmgKoy8I3M1ddExpG7VuvVq3Ditl9JRubn0R1psRNm+2dXK3QqJNZPdWOdnPQH5O3NUAF6R+ej8qqR5K2ByyEVvpVnIREwjY1VOIx/0rjqtVzfdwqp+9KasyW1wQ== X-YMail-OSG: g0nTtskVM1nT28oKnmO1CW0xW3UjgeiJl0iFjx.TEiCBqwwOEboWO.F.X5GGKS1 4SMVAsqnjuDo_GAeHJqD44vre9AAD1ExXQMgPvQL5p.vCGgu1MqQOGHJ5Lpmv3NOIQjrCqVvCGZx DYTzV1ZvKGKkI2c9NtXlcZt2_RUVgSsfXAP7nR5QkaTwtNcOn5aSq8V0EZ2VHWEreRBV8XogZV20 ECDvoGq3BvoirNojocfiXZk5DAymrWhMWy5WCiSxv5z1HkRAew3JjLc2tlDYk7n4IzAlGT93Mdaz F7UYIJDsqL0wcCnHRtdAnlMXIJPxgEOBs29ZIqrudviUrhIE13Ecz6YBEV1IbYzKQazk3gCdMlRs z5i6hV2Aup_KuTH.uu0egOKxP3lsl_HYh37Js9dfc_if4WTsANsT.UZ_rbVD4zwd66YYl9JsozKz 5.yfzH0JklAOKMn30Ru6XvxR.TjtlyBZi4qBBezr5RiChjz3n3dBx0NYLEmBjlGPpOHEUuucrSZ7 _m1hh9OX6gbYbIBmRC_q6bjdB4b4dffTc6rprkOBmaMB9FUJ0f6VWHDebhYsb9Wux7csThuQr8NS XDBdgLoivmWwIKLN0H1CcsdtGOUG.xy5kpV8SHxz4xU8pK.FptZ_NIwNqdwK6oYj3KU_7BZy.Hbm zVc2ih0VmY5f5dThHlGZH6Zf8FVPts4hFlM4z._hFbw3JuJ_OuGq9ZgPgYxWbHjPGx9mTsd10S8e oRQJIzVQZGl3sza_iRFodUI64C52NMWuN5J5GlPHTs4GjiFaUdm0Fmh.LC4ZXI9AYNyjuY41TtYT 2lK1CuaEsBRb1QuxkkPCwgiF2Wc0JDra3IU1mAkKpy X-Sonic-MF: X-Sonic-ID: 8e6ac55c-1b1b-402f-a2b0-0574d787f216 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Fri, 25 Aug 2023 00:26:50 +0000 Original-Received: by hermes--production-sg3-69654d8bd-j2jc2 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 5970214c838f281dbec14c28b6af654e; Fri, 25 Aug 2023 00:26:44 +0000 (UTC) In-Reply-To: <83lee0pksl.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 24 Aug 2023 17:38:50 +0300") X-Mailer: WebService/1.1.21763 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.189.147; envelope-from=luangruo@yahoo.com; helo=sonic314-21.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:309183 Archived-At: Eli Zaretskii writes: > 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 Wasn't that fixed by renaming QCdbus_notify to QCnotify? > 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. D-Bus, being a mechanism for desktop components to exchange information and procedure calls, provides no desktop notifications by itself, and a desktop notification server (normally supplied by an X desktop environment) must run on the session bus for them to be available. MS-Windows builds with D-Bus are typically incapable of contacting a notification server, since none of the popular X desktop environments run on MS-Windows. So both features should be made available simultaneously.