From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] Allow :urgency flags for org-notify Date: Mon, 15 Jan 2018 16:26:04 +0100 Message-ID: <87r2qrywhf.fsf@nicolasgoaziou.fr> References: <87mv1h1emj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eb6eH-0007Wt-07 for emacs-orgmode@gnu.org; Mon, 15 Jan 2018 10:26:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eb6eG-0006wO-0O for emacs-orgmode@gnu.org; Mon, 15 Jan 2018 10:26:09 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:52524) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eb6eF-0006vF-R8 for emacs-orgmode@gnu.org; Mon, 15 Jan 2018 10:26:07 -0500 In-Reply-To: <87mv1h1emj.fsf@gmail.com> (Jay Kamat's message of "Sat, 13 Jan 2018 19:13:40 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Jay Kamat Cc: Org Mode , Peter =?utf-8?Q?M=C3=BCnster?= Hello, Jay Kamat writes: > I recently began using the org-notify package, and I would like to pass > the :urgency flag to `notifications-notify' occasionally. This small > patch passes the :urgency key from the org-notify configuration on to > `notitifications-notify'. > > For example, after this patch, you can: > > (org-notify-add 'test-notifications > '(:time "10m" :period "1m" :actions -notify/window :urgency critical)) > > And get notifications labeled as critical in that way. Thank you. I applied your patch on behalf of Org notify's author (Cc'ed). > Eventually, I would like to write an alert > (https://github.com/jwiegley/alert) backend for org-notify, would that > be suitable for inclusion in the core package? Org notify is not in Org core, but in contrib/ directory, soon to be moved to orgmode.org repository as a separate package. Regards, -- Nicolas Goaziou