From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Popineau Subject: Re: Does org-nofity uses dbus? Date: Tue, 21 Jun 2016 10:45:38 +0200 Message-ID: References: Reply-To: fabrice.popineau@centralesupelec.fr Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113ad55c86eb1b0535c5d97a Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFHJx-0004r4-Hm for Emacs-orgmode@gnu.org; Tue, 21 Jun 2016 04:46:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFHJq-0000WZ-3c for Emacs-orgmode@gnu.org; Tue, 21 Jun 2016 04:46:09 -0400 Received: from smtp2.supelec.fr ([160.228.120.31]:39215) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFHJp-0000Vx-Q0 for Emacs-orgmode@gnu.org; Tue, 21 Jun 2016 04:46:02 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp2.supelec.fr (Postfix) with ESMTP id 49D53800E4 for ; Tue, 21 Jun 2016 10:45:59 +0200 (CEST) Received: from smtp2.supelec.fr ([127.0.0.1]) by localhost (smtp2.supelec.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u6XaE_AO6pLl for ; Tue, 21 Jun 2016 10:45:59 +0200 (CEST) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by smtp2.supelec.fr (Postfix) with ESMTPSA id D0F9180116 for ; Tue, 21 Jun 2016 10:45:58 +0200 (CEST) Received: by mail-ob0-f182.google.com with SMTP id mu6so12669281obc.3 for ; Tue, 21 Jun 2016 01:45:58 -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: Xi Shen Cc: "Emacs-orgmode@gnu.org" --001a113ad55c86eb1b0535c5d97a Content-Type: text/plain; charset=UTF-8 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 --001a113ad55c86eb1b0535c5d97a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= 2016-06-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 dbus-error happens very close to the task notification. I wonder if org= -notify uses dbus.=C2=A0

Error: (dbus-error "= No connection to bus" :session)
Warning: notification for &q= uot;Go to dental in 30 mins." behind schedule!
Error: (dbus-= error "No connection to bus" :session) [2 times]
Warnin= g: notification for "Go to dental in 30 mins." behind schedule!
Error: (dbus-error "No connection to bus" :session) [2 t= imes]

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


It seems so, yes: org-notify calls notifications-notify from the ema= cs notifications.el library.
Clearly, notifications.el relies on = dbus.=C2=A0

However, if you are using Mingw64, the= re is a dbus package which should provide
what is needed. Unfortu= nately, I tried it and can't tell yet how to configure it or if it
even works.


Fabrice

--001a113ad55c86eb1b0535c5d97a--