Re: [O] org-notify Tutorial

2012-08-25 Thread Peter Münster
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




Re: [O] org-notify Tutorial

2012-08-07 Thread Nick Dokos
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
> 
> Thanks.
> 

IIRC, at the time I just followed the steps in the embedded commentary
of org-notify.el itself. I don't know of any other documentation.

Nick



[O] org-notify Tutorial

2012-08-07 Thread SW
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

Thanks.