From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Peter_M=C3=BCnster?= Subject: Re: org-notify Tutorial Date: Sat, 25 Aug 2012 16:17:17 +0200 Message-ID: <871uiv3vki.fsf@micropit.couberia.bzh> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5HBA-0000KY-2r for emacs-orgmode@gnu.org; Sat, 25 Aug 2012 10:17:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T5HB8-00007T-B1 for emacs-orgmode@gnu.org; Sat, 25 Aug 2012 10:17:36 -0400 Received: from plane.gmane.org ([80.91.229.3]:56702) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5HB8-00007M-3f for emacs-orgmode@gnu.org; Sat, 25 Aug 2012 10:17:34 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T5HB4-00057K-Tb for emacs-orgmode@gnu.org; Sat, 25 Aug 2012 16:17:30 +0200 Received: from arennes-651-1-122-115.w2-2.abo.wanadoo.fr ([2.2.129.115]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 25 Aug 2012 16:17:30 +0200 Received: from pmlists by arennes-651-1-122-115.w2-2.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 25 Aug 2012 16:17:30 +0200 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Tue, Aug 07 2012, SW wrote: > Is a tutorial/guide available for org-notify? Neither of the following were very > helpful: > > http://orgmode.org/worg/org-api/org-notify-api.html > > http://thread.gmane.org/gmane.emacs.orgmode/52634/focus=52693 On Sat, Aug 25 2012, maroony wrote: > Thanks for your answers! The new notify package sounds very interesting, but it > would be great to see some more documentation for it. Hi, I'm glad, that other people like this package! Unfortunately I don't have enough time to write more documentation. (so much *TODO* ... ;) Nevertheless, I send you my own setup as an example: --8<---------------cut here---------------start------------->8--- (require 'org-notify) (org-notify-add 'default '(:time "100m" :actions -notify/window :period "2m" :duration 60)) (org-notify-add 'urgent-second '(:time "3m" :actions (-notify/window -ding) :period "15s" :duration 10)) (org-notify-add 'minute '(:time "5m" :actions -notify/window :period "100s" :duration 70)) (org-notify-add '12hours '(:time "3m" :actions (-notify/window -ding) :period "15s" :duration 10) '(:time "100m" :actions -notify/window :period "2m" :duration 60) '(:time "12h" :actions -notify/window :audible nil :period "10m" :duration 200)) (org-notify-add '5days '(:time "100m" :actions -notify/window :period "2m" :duration 60) '(:time "2d" :actions -notify/window :period "15m" :duration 100) '(:time "5d" :actions -notify/window :period "2h" :duration 200)) (org-notify-add 'long-20days '(:time "2d" :actions -notify/window :period "15m" :duration 60) '(:time "5d" :actions -notify/window :period "2h" :duration 60) '(:time "20d" :actions -email :period "2d" :audible nil)) (org-notify-add 'long-50days '(:time "4d" :actions -notify/window :period "30m" :duration 100) '(:time "10d" :actions -notify/window :period "4h" :duration 200) '(:time "50d" :actions -email :period "3d" :audible nil)) (org-notify-add 'long-100days '(:time "2d" :actions -notify/window :period "1h" :duration 200) '(:time "10d" :actions -notify/window :period "10h" :duration 300) '(:time "50d" :actions -email :period "3d" :audible nil) '(:time "100d" :actions -email :period "5d" :audible nil))) (org-notify-start 10) --8<---------------cut here---------------end--------------->8--- > At the moment I don't know how to set a notify property on an todo-item. A small > example would be very helpful. Example: --8<---------------cut here---------------start------------->8--- * TODO Terrasse bauen DEADLINE: <2013-04-20 Sat 10:38> :PROPERTIES: :notify: long-100days :END: --8<---------------cut here---------------end--------------->8--- Contributions (code/documentation) are welcome of course! -- Peter