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: Re: Desktop bubble notifications [Was: Re: Add function to make frame topmost?] Date: Mon, 03 May 2010 03:29:59 +0100 Message-ID: <4BDE3527.7060607@harpegolden.net> 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; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1272853818 23103 80.91.229.12 (3 May 2010 02:30:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 3 May 2010 02:30:18 +0000 (UTC) Cc: "Stephen J. Turnbull" , =?UTF-8?B?SmFuIERqw6Rydg==?= , Stefan Monnier , Emacs-Devel devel To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 03 04:30:16 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 1O8lQD-0000gG-Oo for ged-emacs-devel@m.gmane.org; Mon, 03 May 2010 04:30:14 +0200 Original-Received: from localhost ([127.0.0.1]:57054 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8lQD-000331-0a for ged-emacs-devel@m.gmane.org; Sun, 02 May 2010 22:30:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O8lQ7-00032q-Ru for emacs-devel@gnu.org; Sun, 02 May 2010 22:30:07 -0400 Original-Received: from [140.186.70.92] (port=56543 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8lQ6-00032h-AG for emacs-devel@gnu.org; Sun, 02 May 2010 22:30:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O8lQ4-0007fz-Jh for emacs-devel@gnu.org; Sun, 02 May 2010 22:30:06 -0400 Original-Received: from harpegolden.net ([65.99.215.13]:47261) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8lQ4-0007fc-FI for emacs-devel@gnu.org; Sun, 02 May 2010 22:30:04 -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 900DE97AA; Mon, 3 May 2010 03:30:01 +0100 (IST) User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) In-Reply-To: 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:124457 Archived-At: Lennart Borgman wrote: > What more could be done that way than would be possible if > growlnotify.exe had a /wait switch? Remembering that I'm not familiar with growl-for-windows, but in the api docs it looks like there's the possibility to just register callbacks directly (surely handier?), set custom attributes, and get fine-grained errors back. I did say "especially on fd.o": libnotify has a lot of stuff not exposed through its notify-send, like multiple actions ( "Chat|Ignore"), possibility for association with specific applications widgets and systray icons, and support for updating the message of the notification*. (growl-for-windows doesn't currently do several of those in the first place as far as I can see (could well be wrong)). [debian package python-notify has a bunch of examples in /usr/share/doc/python-notify/examples ] * import pynotify import time pynotify.init("Countdown") n = pynotify.Notification("Uh oh","...") n.show() for i in range(10,0,-1): time.sleep(1) n.update("Uh oh", "%s..." % i) n.show() n.update("Oh No!", "BANG") n.show()