all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: emacs-devel@gnu.org
Subject: Re: notifications.el server mode?
Date: Sat, 11 Jun 2011 13:03:29 +0200	[thread overview]
Message-ID: <87ei30fx4u.fsf@gmx.de> (raw)
In-Reply-To: <87y618iqxm.fsf@lifelogs.com> (Ted Zlatanov's message of "Sat, 11 Jun 2011 05:49:09 -0500")

Ted Zlatanov <tzz@lifelogs.com> writes:

> MA> notifications.el uses the D-Bus specification of the
> MA> org.freedesktop.Notifications service on the session bus. Of course,
> MA> there could be an implementation of this service inside Emacs.
>
> Great.  How hard is it to add?

I could provide you the D-Bus frame functionality, that's easy. I have
no idea how hard it is to implement the functionality with Emacs frames
and icons; this I would let to you :-)

Note, that the daemon would be responsible to handle *all* notifications
swimming around the session, not only the ones sent from Emacs itself.

> MA> But according to the D-Bus architecture, there can be only one service
> MA> using a given service name at a time; the Emacs notification daemon
> MA> would need to replace the desktop's default notification daemon, which
> MA> might not be desirable
>
> So we'll need a way to find if a notification daemon is running, too?

That's simple. D-Bus allows registration of services, kicking existing
ones out. It's not a common use case, though :-)

> Ted

Best regards, Michael.



  reply	other threads:[~2011-06-11 11:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-10 16:19 notifications.el server mode? Ted Zlatanov
2011-06-11  9:23 ` Michael Albinus
2011-06-11 10:49   ` Ted Zlatanov
2011-06-11 11:03     ` Michael Albinus [this message]
2011-06-11 11:37       ` Ted Zlatanov
2011-06-11 14:49         ` Michael Albinus

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

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

  git send-email \
    --in-reply-to=87ei30fx4u.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=emacs-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.