From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: RFC: status icon support Date: Mon, 31 Dec 2007 09:18:18 -0800 Message-ID: <200712311718.lBVHIImK029996@oogie-boogie.ics.uci.edu> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199121697 15037 80.91.229.12 (31 Dec 2007 17:21:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Dec 2007 17:21:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 31 18:21:51 2007 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.50) id 1J9OKi-0001oT-43 for ged-emacs-devel@m.gmane.org; Mon, 31 Dec 2007 18:21:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J9OKM-00028A-C0 for ged-emacs-devel@m.gmane.org; Mon, 31 Dec 2007 12:21:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J9OKJ-00027x-Us for emacs-devel@gnu.org; Mon, 31 Dec 2007 12:21:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J9OKI-00027g-Ek for emacs-devel@gnu.org; Mon, 31 Dec 2007 12:21:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J9OKI-00027d-89 for emacs-devel@gnu.org; Mon, 31 Dec 2007 12:21:22 -0500 Original-Received: from oogie-boogie.ics.uci.edu ([128.195.1.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J9OKH-0000JS-RZ for emacs-devel@gnu.org; Mon, 31 Dec 2007 12:21:22 -0500 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by oogie-boogie.ics.uci.edu (8.13.6/8.13.6) with ESMTP id lBVHIImK029996; Mon, 31 Dec 2007 09:18:18 -0800 (PST) In-Reply-To: (Tom Tromey's message of "Sun, 30 Dec 2007 12:56:54 -0700") Original-Lines: 27 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 9 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:85749 Archived-At: Tom Tromey writes: > This patch implements status icon support for Emacs. > > A status icon is an icon that sits in a part of the panel called the > "system tray". It can be used to display notifications that are > somewhat less intrusive than a real dialog box. A status icon can > also have a menu (unimplemented here), react to button presses, and > can display notification messages. > > This patch only works when using Gtk. It could in theory be made to > work with other toolkits -- there is a cross-desktop systray > specification, and both Windows and the Mac support something similar. > However, I don't know these other platforms, so someone else would > have to implement that. > > This patch is still incomplete. It needs a configure change and some > #ifdefs. It also needs a ChangeLog entry and, I think, a section in > the elisp manual. > > I'm looking for feedback on the general approach, the code, etc. Very interesting idea! What would the lisp code for this look like? Another possible use that comes to mind: emit some kind of notification when a (long) compilation finishes.