emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Xi Shen <davidshen84@gmail.com>
To: fabrice.popineau@centralesupelec.fr
Cc: "Emacs-orgmode@gnu.org" <Emacs-orgmode@gnu.org>
Subject: Re: Does org-nofity uses dbus?
Date: Tue, 21 Jun 2016 14:14:15 +0000	[thread overview]
Message-ID: <CANO68EMW3gpJzJDqA1XcdinKxV5Of0FM33u9GPZ_g+o_4wccKQ@mail.gmail.com> (raw)
In-Reply-To: <CAFgFV9OdcWGCFLdpr5Fy8rw6pX7xK_T7gDQ_OPNc7AuG9gOrPQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1500 bytes --]

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 <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.
>>
>> 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.

[-- Attachment #2: Type: text/html, Size: 2690 bytes --]

  reply	other threads:[~2016-06-21 14:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-21  6:31 Does org-nofity uses dbus? Xi Shen
2016-06-21  8:45 ` Fabrice Popineau
2016-06-21 14:14   ` Xi Shen [this message]
2016-06-21 14:25     ` Fabrice Popineau
2016-06-22 12:16       ` Xi Shen
2016-06-22 16:45         ` Nick Dokos
2016-06-22 17:02         ` Fabrice Popineau
2016-06-23 13:12           ` Xi Shen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANO68EMW3gpJzJDqA1XcdinKxV5Of0FM33u9GPZ_g+o_4wccKQ@mail.gmail.com \
    --to=davidshen84@gmail.com \
    --cc=Emacs-orgmode@gnu.org \
    --cc=fabrice.popineau@centralesupelec.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).