From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: notifications.el server mode? Date: Sat, 11 Jun 2011 06:37:29 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87mxhoiop2.fsf@lifelogs.com> References: <8762odek1o.fsf@lifelogs.com> <87ipscg1qu.fsf@gmx.de> <87y618iqxm.fsf@lifelogs.com> <87ei30fx4u.fsf@gmx.de> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1307792293 8760 80.91.229.12 (11 Jun 2011 11:38:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 11 Jun 2011 11:38:13 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 11 13:38:08 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QVMVs-00078V-U1 for ged-emacs-devel@m.gmane.org; Sat, 11 Jun 2011 13:38:01 +0200 Original-Received: from localhost ([::1]:34095 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QVMVr-0006Ve-TB for ged-emacs-devel@m.gmane.org; Sat, 11 Jun 2011 07:38:00 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QVMVe-0006VZ-FB for emacs-devel@gnu.org; Sat, 11 Jun 2011 07:37:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QVMVd-0001sY-3l for emacs-devel@gnu.org; Sat, 11 Jun 2011 07:37:46 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:44517) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QVMVc-0001sN-TF for emacs-devel@gnu.org; Sat, 11 Jun 2011 07:37:45 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QVMVb-0006yH-7M for emacs-devel@gnu.org; Sat, 11 Jun 2011 13:37:43 +0200 Original-Received: from c-67-186-102-106.hsd1.il.comcast.net ([67.186.102.106]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Jun 2011 13:37:43 +0200 Original-Received: from tzz by c-67-186-102-106.hsd1.il.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Jun 2011 13:37:43 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 30 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-67-186-102-106.hsd1.il.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:LfciFl0dIbpG4HAmE8AH75YrRes= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:140375 Archived-At: On Sat, 11 Jun 2011 13:03:29 +0200 Michael Albinus wrote: MA> Ted Zlatanov 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? MA> I could provide you the D-Bus frame functionality, that's easy. I have MA> no idea how hard it is to implement the functionality with Emacs frames MA> and icons; this I would let to you :-) That would be great. I'll handle the messages, sure. MA> Note, that the daemon would be responsible to handle *all* notifications MA> swimming around the session, not only the ones sent from Emacs MA> itself. No problem :) >> So we'll need a way to find if a notification daemon is running, too? MA> That's simple. D-Bus allows registration of services, kicking existing MA> ones out. It's not a common use case, though :-) I keep discovering uncommon needs as I work on the Emacs desktop functionality... Thanks for your help! Ted