From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Desktop bubble notifications [Was: Re: Add function to make frame topmost?] Date: Mon, 3 May 2010 02:19:16 +0200 Message-ID: References: <4BDC6CE7.8060400@harpegolden.net> <4BDD2979.50001@swipnet.se> <87iq767aln.fsf@uwakimon.sk.tsukuba.ac.jp> <4BDD8F77.5050702@harpegolden.net> <4BDDCB39.3030704@swipnet.se> <4BDDEF87.9050001@harpegolden.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1272845990 6276 80.91.229.12 (3 May 2010 00:19:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 3 May 2010 00:19:50 +0000 (UTC) Cc: "Stephen J. Turnbull" , =?UTF-8?Q?Jan_Dj=C3=A4rv?= , Stefan Monnier , Emacs-Devel devel To: David De La Harpe Golden Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 03 02:19:48 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 1O8jNz-00005d-0X for ged-emacs-devel@m.gmane.org; Mon, 03 May 2010 02:19:47 +0200 Original-Received: from localhost ([127.0.0.1]:40632 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8jNx-0002iw-OS for ged-emacs-devel@m.gmane.org; Sun, 02 May 2010 20:19:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O8jNt-0002hx-FF for emacs-devel@gnu.org; Sun, 02 May 2010 20:19:41 -0400 Original-Received: from [140.186.70.92] (port=53956 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8jNs-0002h7-0Q for emacs-devel@gnu.org; Sun, 02 May 2010 20:19:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O8jNq-0002JY-7k for emacs-devel@gnu.org; Sun, 02 May 2010 20:19:39 -0400 Original-Received: from fg-out-1718.google.com ([72.14.220.159]:32448) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8jNq-0002JG-0i for emacs-devel@gnu.org; Sun, 02 May 2010 20:19:38 -0400 Original-Received: by fg-out-1718.google.com with SMTP id e21so672279fga.12 for ; Sun, 02 May 2010 17:19:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=0jpWidelxlsIyWD9dE/YSaI+bdD+ne8ujYeSuZbW2hM=; b=YMjqYgbqLIH8nDb2XX9/nZi6vP8R0jeQTgONHbcnPDJilzhuN6LEjqN5/Ps5cqurKK dalEZihmkq2Chmx5UOcmvZSBGB523muBhTJYBSAh/0jS1cdqgU8mh7OC7zTKOYRIofVF ZskfOubwRLNTpsxNJJ4mSWAuDQ3EXvGTgmeKg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=ZT7lkI4pTkp4sJ2IZXR9/tu9Og9JJW9y2WNRBsSP8H2KzQpjIhSphb3Wm/1qqh/H4a CfNtr5sXaKL6TbTt/kMEx/dXd6TftsJwYDRbutmxwhT5WlMwt0uCiCp7UE93yTceaKOb xdM8zjUJ1MEUZ435ApTFSYAuuOWrvUCeWVZEQ= Original-Received: by 10.239.131.199 with SMTP id 7mr1293715hbo.175.1272845976133; Sun, 02 May 2010 17:19:36 -0700 (PDT) Original-Received: by 10.239.164.81 with HTTP; Sun, 2 May 2010 17:19:16 -0700 (PDT) In-Reply-To: <4BDDEF87.9050001@harpegolden.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:124449 Archived-At: On Sun, May 2, 2010 at 11:32 PM, David De La Harpe Golden wrote: > Jan Dj=C3=A4rv wrote: > > >> >>> Linking emacs, at least x11/gtk emacs, against libnotify and supporting >>> a (notify-send ...) or something usable from within emacs would probabl= y >>> be quite doable. Maybe the elisp api could be wrapped around the other >>> platforms' native similar facilities on non-x11. >>> >> >> This is a good idea. >> > > Hmm. The "other platforms" thing was worrying me, particularly given the > build-from-scratch angle Lennart came in on, so I searched the internet > outside my usual haunts: I was not really suggesting that... - but some Emacs specific way of notification popup would be good too. > *** Growl, snarl, libnotify. mumbles: > ... > So, um. Turns out, someone (one Jonathan Arkell) has actually written som= e > basic support of growl-like systems for emacs, including libnotify, calle= d > (somewhat cryptically) "todochiku.el". =C2=A0It is simply using the comma= nd-line > clients for the respective notification systems on the various platforms > (like the one I used) rather than the more versatile C/ObjC/C++ apis. > [6][7]. I took a quick look at Growl for Windows. It has a command line program, growlnotify.exe, which todochiku.el uses. Unfortunately growlnotify.exe can't wait for the user click on the notification popup. That is too bad, because if it could it would perhaps be easy to integrate with Emacs in a more useful way. Then sentinentals could be used for callbacks. I sent a mail to the growl mailing list and asked for a /wait switch. > IMNHO core emacs support should probably be by library bindings (or wire > protocol) rather than commmand line callout as used by the existing > todochiku.el though - generally more powerful for all systems, especially= on > fd.o. What more could be done that way than would be possible if growlnotify.exe had a /wait switch?