emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Peter Münster" <pmlists@free.fr>
To: emacs-orgmode@gnu.org
Subject: Re: org-notify Tutorial
Date: Sat, 25 Aug 2012 16:17:17 +0200	[thread overview]
Message-ID: <871uiv3vki.fsf@micropit.couberia.bzh> (raw)
In-Reply-To: loom.20120807T105851-503@post.gmane.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

      parent reply	other threads:[~2012-08-25 14:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-07  9:07 org-notify Tutorial SW
2012-08-07 12:54 ` Nick Dokos
2012-08-25 14:17 ` Peter Münster [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871uiv3vki.fsf@micropit.couberia.bzh \
    --to=pmlists@free.fr \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).