From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David De La Harpe Golden Newsgroups: gmane.emacs.devel Subject: Desktop bubble notifications [Was: Re: Add function to make frame topmost?] Date: Sun, 02 May 2010 22:32:55 +0100 Message-ID: <4BDDEF87.9050001@harpegolden.net> References: <4BDB5A6E.5060803@harpegolden.net> <4BDB8886.4050202@harpegolden.net> <4BDC6CE7.8060400@harpegolden.net> <4BDD2979.50001@swipnet.se> <87iq767aln.fsf@uwakimon.sk.tsukuba.ac.jp> <4BDD8F77.5050702@harpegolden.net> <4BDDCB39.3030704@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1272836000 13799 80.91.229.12 (2 May 2010 21:33:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 2 May 2010 21:33:20 +0000 (UTC) Cc: "Stephen J. Turnbull" , Lennart Borgman , Stefan Monnier , Emacs-Devel devel To: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 02 23:33:17 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O8gmn-0004zI-Ow for ged-emacs-devel@m.gmane.org; Sun, 02 May 2010 23:33:14 +0200 Original-Received: from localhost ([127.0.0.1]:41101 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8gmm-0001kZ-UX for ged-emacs-devel@m.gmane.org; Sun, 02 May 2010 17:33:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O8gmg-0001kP-7W for emacs-devel@gnu.org; Sun, 02 May 2010 17:33:06 -0400 Original-Received: from [140.186.70.92] (port=41472 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8gme-0001kG-Ec for emacs-devel@gnu.org; Sun, 02 May 2010 17:33:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O8gma-0002WY-8T for emacs-devel@gnu.org; Sun, 02 May 2010 17:33:04 -0400 Original-Received: from harpegolden.net ([65.99.215.13]:56753) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8gma-0002WQ-2R for emacs-devel@gnu.org; Sun, 02 May 2010 17:33:00 -0400 Original-Received: from [87.198.55.196] (87-198-55-196.ptr.magnet.ie [87.198.55.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTP id 83D939799; Sun, 2 May 2010 22:32:58 +0100 (IST) User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) In-Reply-To: <4BDDCB39.3030704@swipnet.se> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:124446 Archived-At: Jan Dj=E4rv wrote: >=20 >> Linking emacs, at least x11/gtk emacs, against libnotify and supportin= g >> a (notify-send ...) or something usable from within emacs would probab= ly >> be quite doable. Maybe the elisp api could be wrapped around the other >> platforms' native similar facilities on non-x11. >> >=20 > This is a good idea. >=20 Hmm. The "other platforms" thing was worrying me, particularly given the=20 build-from-scratch angle Lennart came in on, so I searched the internet=20 outside my usual haunts: *** Growl, snarl, libnotify. mumbles: Macosx seems to have a third-party add-on called "growl" [1] for=20 notifications that seems to be popular bordering on de-facto standard=20 and appears to have a conceptually similar (though ObjC) api to=20 libnotify, as well as a similar command line client. Growl is probably acceptably licensed [2], so maybe depending on growl=20 on macosx for notifications is an option. There's a "growl for windows" [3], and similar system called "snarl".=20 [4] (haven't found their licenses) And another project called "mumbles" on fd.o systems [5] (and KDE has=20 KNotify), though as emacs is a gtk+ app for the purposes of the=20 discussion, libnotify is probably the thing to use. *** Existing Emacs support for libnotify, growl and snarl (!) So, um. Turns out, someone (one Jonathan Arkell) has actually written=20 some basic support of growl-like systems for emacs, including libnotify,=20 called (somewhat cryptically) "todochiku.el". It is simply using the=20 command-line clients for the respective notification systems on the=20 various platforms (like the one I used) rather than the more versatile=20 C/ObjC/C++ apis. [6][7]. IMNHO core emacs support should probably be by library bindings (or wire=20 protocol) rather than commmand line callout as used by the existing=20 todochiku.el though - generally more powerful for all systems,=20 especially on fd.o. [1] http://growl.info/ [2] http://growl.googlecode.com/hg/License.txt [3] http://www.growlforwindows.com/gfw/default.aspx [4] http://www.fullphat.net/index.php [5] http://www.mumbles-project.org/ [6] http://justinsboringpage.blogspot.com/2009/09/making-emacs-growl.html [7] http://www.emacswiki.org/emacs/todochiku.el