From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xi Shen Subject: Re: Does org-nofity uses dbus? Date: Thu, 23 Jun 2016 13:12:00 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113e3a8c34c5410535f1cdbc Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG4QV-0003Ni-SU for Emacs-orgmode@gnu.org; Thu, 23 Jun 2016 09:12:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bG4QU-0004cK-Mt for Emacs-orgmode@gnu.org; Thu, 23 Jun 2016 09:12:11 -0400 Received: from mail-oi0-x236.google.com ([2607:f8b0:4003:c06::236]:34330) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG4QU-0004cD-G9 for Emacs-orgmode@gnu.org; Thu, 23 Jun 2016 09:12:10 -0400 Received: by mail-oi0-x236.google.com with SMTP id s66so69076063oif.1 for ; Thu, 23 Jun 2016 06:12:10 -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 Cc: "emacs-orgmode@gnu.org" --001a113e3a8c34c5410535f1cdbc Content-Type: text/plain; charset=UTF-8 I also think it is a good idea to add some functions in Emacs for Win32 platform, and let other's used those functions from elisp. Thanks~ On Thu, Jun 23, 2016 at 1:02 AM Fabrice Popineau wrote: > 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 > -- Thanks, David S. --001a113e3a8c34c5410535f1cdbc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I also think it is a good idea to add some functions in Em= acs for Win32 platform, and let other's used those functions from elisp= . Thanks~

On Thu, Jun = 23, 2016 at 1:02 AM Fabrice Popineau <fabrice.popineau@gmail.com> wrote:
2016-06-22 14:16 GMT+02:00 Xi Shen <<= a href=3D"mailto:davidshen84@gmail.com" target=3D"_blank">davidshen84@gmail= .com>:
Wel= l~that's good news. But I think dbus requires X11 to work. But in Cygwi= n environment, people usually do not configure a full X11 environment.

No, dbus doesn't requi= re 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.


Besi= des, for org-notify, could dbus help it playing a notification sound on Win= dows? Or popup a notification message?


I guess it will work the same way it d= oes elsewhere.

=C2=A0
So what I am thinkin= g is to get some Windows native behavior for org-notify on Windows/Cygwin e= nvironment.


=
I too think that a native, session only mod= ule 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 coul= d have a distant running emacs (ssh) session and get notifications on your = local desktop,=C2=A0
provided the right setup.=C2=A0
Well, browsing the source code, I see that Eli Zaretskii has a= lready implemented native win32 tray notifications.
They are a sm= all subset of the dbus notifications.
However, he made them exclu= sive with dbus. I don't see the reason yet.
Fabrice
--

Thanks,
David S.

--001a113e3a8c34c5410535f1cdbc--