emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Fabrice Popineau <fabrice.popineau@gmail.com>
To: Xi Shen <davidshen84@gmail.com>
Cc: "emacs-orgmode@gnu.org" <Emacs-orgmode@gnu.org>
Subject: Re: Does org-nofity uses dbus?
Date: Wed, 22 Jun 2016 19:02:10 +0200	[thread overview]
Message-ID: <CAFgFV9MVnovor4kQUZEZCwoGGsnwkngSur4ekZj1mMHh7XU-Cg@mail.gmail.com> (raw)
In-Reply-To: <CANO68EPVzqAjogEmWrN2t7sb0MM7h+mfMqsPGenxZfAcJiv3Uw@mail.gmail.com>

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

2016-06-22 14:16 GMT+02:00 Xi Shen <davidshen84@gmail.com>:

> Well~that's good news. But I think dbus requires X11 to work. But in
> Cygwin environment, people usually do not configure a full X11 environment.
>

No, dbus doesn't require X11 to work. Neither does emacs require  Cygwin to
work.
Actually, Emacs compiles as a native Windows application (using MinGW32 or
MinGW64) and it is also the case of dbus.


> Besides, for org-notify, could dbus help it playing a notification sound
> on Windows? Or popup a notification message?
>
>
I guess it will work the same way it does elsewhere.



> So what I am thinking is to get some Windows native behavior for
> org-notify on Windows/Cygwin environment.
>
>
I too think that a native, session only module that will provide the same
interface as dbus could be interesting
for Windows users. However, that shouldn't prevent those who want to use
dbus to use it.

AFAIU, using dbus, you could have a distant running emacs (ssh) session and
get notifications on your local desktop,
provided the right setup.

Well, browsing the source code, I see that Eli Zaretskii has already
implemented native win32 tray notifications.
They are a small subset of the dbus notifications.
However, he made them exclusive with dbus. I don't see the reason yet.

Fabrice

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

  parent reply	other threads:[~2016-06-22 17:02 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
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 [this message]
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=CAFgFV9MVnovor4kQUZEZCwoGGsnwkngSur4ekZj1mMHh7XU-Cg@mail.gmail.com \
    --to=fabrice.popineau@gmail.com \
    --cc=Emacs-orgmode@gnu.org \
    --cc=davidshen84@gmail.com \
    /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).