From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Popineau Subject: Re: Does org-nofity uses dbus? Date: Wed, 22 Jun 2016 19:02:10 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113d01141f6ad10535e0e794 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFlXt-0001kc-1e for Emacs-orgmode@gnu.org; Wed, 22 Jun 2016 13:02:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFlXr-00025d-Uo for Emacs-orgmode@gnu.org; Wed, 22 Jun 2016 13:02:32 -0400 Received: from mail-oi0-x235.google.com ([2607:f8b0:4003:c06::235]:34739) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFlXr-00025Y-P4 for Emacs-orgmode@gnu.org; Wed, 22 Jun 2016 13:02:31 -0400 Received: by mail-oi0-x235.google.com with SMTP id s66so31513535oif.1 for ; Wed, 22 Jun 2016 10:02:30 -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" --001a113d01141f6ad10535e0e794 Content-Type: text/plain; charset=UTF-8 2016-06-22 14:16 GMT+02:00 Xi Shen : > 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 --001a113d01141f6ad10535e0e794 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


2016-06-22 14:16 GMT+02:00 Xi Shen <davidshen84@gmail.com><= /span>:
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 =C2=A0Cygwin 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 pl= aying a notification sound on Windows? Or popup a notification message?


I guess it will wor= k the same way it does elsewhere.

=C2=A0
So what I am th= inking is to get some Windows native behavior for org-notify on Windows/Cyg= win 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 db= us to use it.

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

<= div>Well, browsing the source code, I see that Eli Zaretskii has already im= plemented native win32 tray notifications.
They are a small subse= t of the dbus notifications.
However, he made them exclusive with= dbus. I don't see the reason yet.

Fabrice
--001a113d01141f6ad10535e0e794--