From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xi Shen Subject: Re: Does org-nofity uses dbus? Date: Tue, 21 Jun 2016 14:14:15 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c03388622e0650535ca70a2 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFMRk-0006Wk-HO for Emacs-orgmode@gnu.org; Tue, 21 Jun 2016 10:14:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFMRf-0007Qe-Pm for Emacs-orgmode@gnu.org; Tue, 21 Jun 2016 10:14:32 -0400 Received: from mail-ob0-x233.google.com ([2607:f8b0:4003:c01::233]:35631) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFMRf-0007QL-IL for Emacs-orgmode@gnu.org; Tue, 21 Jun 2016 10:14:27 -0400 Received: by mail-ob0-x233.google.com with SMTP id c3so23991716obc.2 for ; Tue, 21 Jun 2016 07:14:26 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: fabrice.popineau@centralesupelec.fr Cc: "Emacs-orgmode@gnu.org" --94eb2c03388622e0650535ca70a2 Content-Type: text/plain; charset=UTF-8 Yeah...getting dbus to work on Windows will be hard. Maybe we should consider using some other ways to display a notification on Windows. E.g. On Windows/Cygwin environment, org-notify should use a command line tool to show a notification in the Windows notification area. But I wonder how to deploy this command line tool with Emacs system...any suggestions/ideas? Thanks, David On Tue, Jun 21, 2016 at 4:45 PM Fabrice Popineau < fabrice.popineau@supelec.fr> wrote: > 2016-06-21 8:31 GMT+02:00 Xi Shen : > >> Hi, >> >> I got below error after I called (org-notify-start). It seems the >> dbus-error happens very close to the task notification. I wonder if >> org-notify uses dbus. >> >> Error: (dbus-error "No connection to bus" :session) >> Warning: notification for "Go to dental in 30 mins." behind schedule! >> Error: (dbus-error "No connection to bus" :session) [2 times] >> Warning: notification for "Go to dental in 30 mins." behind schedule! >> Error: (dbus-error "No connection to bus" :session) [2 times] >> >> I am using Emacs on Windows, and there's no dbus on Windows... >> >> > It seems so, yes: org-notify calls notifications-notify from the emacs > notifications.el library. > Clearly, notifications.el relies on dbus. > > However, if you are using Mingw64, there is a dbus package which should > provide > what is needed. Unfortunately, I tried it and can't tell yet how to > configure it or if it > even works. > > > Fabrice > > -- Thanks, David S. --94eb2c03388622e0650535ca70a2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Yeah...getting dbus to work on Windows will be hard. Maybe= we should consider using some other ways to display a notification on Wind= ows.

E.g. On Windows/Cygwin environment, org-notify shou= ld use a command line tool to show a notification in the Windows notificati= on area.

But I wonder how to deploy this command l= ine tool with Emacs system...any suggestions/ideas?


Thanks,
David


On Tue, Jun 21, 2016 at 4:45 PM Fab= rice Popineau <fabrice.po= pineau@supelec.fr> wrote:
2016-0= 6-21 8:31 GMT+02:00 Xi Shen <davidshen84@gmail.com>:
=
Hi,

I got below error after I called (org-notify-start). It seems the db= us-error happens very close to the task notification. I wonder if org-notif= y uses dbus.=C2=A0

Error: (dbus-error "No con= nection to bus" :session)
Warning: notification for "Go= to dental in 30 mins." behind schedule!
Error: (dbus-error = "No connection to bus" :session) [2 times]
Warning: not= ification for "Go to dental in 30 mins." behind schedule!
Error: (dbus-error "No connection to bus" :session) [2 times]<= /div>

I am using Emacs on Windows, and there's no db= us on Windows...


It seems so, yes: org-notify calls notifications-notify from= the emacs notifications.el library.
Clearly, notifications.el re= lies on dbus.=C2=A0

However, if you are using Ming= w64, there is a dbus package which should provide
what is needed.= Unfortunately, I tried it and can't tell yet how to configure it or if= it
even works.


=
Fabrice

--


Thanks,
David S.

--94eb2c03388622e0650535ca70a2--