emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: notifications.el server mode?


From: Michael Albinus
Subject: Re: notifications.el server mode?
Date: Sat, 11 Jun 2011 13:03:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Ted Zlatanov <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]