From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add notifications.el Date: Mon, 07 Jun 2010 09:31:59 -0400 Message-ID: References: <1275757657-15244-1-git-send-email-julien@danjou.info> <87ljar3uug.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1275917549 24045 80.91.229.12 (7 Jun 2010 13:32:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 Jun 2010 13:32:29 +0000 (UTC) Cc: Julien Danjou , emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 07 15:32:28 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 1OLcRC-0002Ga-Ct for ged-emacs-devel@m.gmane.org; Mon, 07 Jun 2010 15:32:22 +0200 Original-Received: from localhost ([127.0.0.1]:38524 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OLcR9-0005jU-DD for ged-emacs-devel@m.gmane.org; Mon, 07 Jun 2010 09:32:19 -0400 Original-Received: from [140.186.70.92] (port=41284 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OLcR1-0005jH-8N for emacs-devel@gnu.org; Mon, 07 Jun 2010 09:32:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OLcQs-0006dK-2t for emacs-devel@gnu.org; Mon, 07 Jun 2010 09:32:11 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:18589 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OLcQr-0006d3-Ui for emacs-devel@gnu.org; Mon, 07 Jun 2010 09:32:02 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEALmRDExFpYBi/2dsb2JhbACeRHK9ToUXBIxn X-IronPort-AV: E=Sophos;i="4.53,378,1272859200"; d="scan'208";a="67498317" Original-Received: from 69-165-128-98.dsl.teksavvy.com (HELO alfajor.home) ([69.165.128.98]) by ironport2-out.pppoe.ca with ESMTP; 07 Jun 2010 09:32:00 -0400 Original-Received: by alfajor.home (Postfix, from userid 20848) id CF736AE29E; Mon, 7 Jun 2010 09:31:59 -0400 (EDT) In-Reply-To: <87ljar3uug.fsf@gmx.de> (Michael Albinus's message of "Mon, 07 Jun 2010 14:12:07 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) 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:125574 Archived-At: >> +(defun notifications-notify (&rest params) >> + "Send notification via D-Bus using the Freedesktop notification protocol. >> +Various PARAMS can be set: >> + >> + :title The notification title. >> + :body The notification body text. > You might mention, that these are mandatory parameters. Check the effect of > (notifications-notify :urgency "low") If these are really fundamentally mandatory, then it would be better to turn them into normal parameters, like (notifications-notify title body &rest params) -- Stefan