Fix org-notify and disable it.

This commit is contained in:
Ivan Malison 2015-02-09 01:10:49 -08:00
parent ae8a8135f1
commit 4509749a25

View File

@ -743,9 +743,18 @@ the same tree node, and the headline of the tree node in the Org-mode file."
;;(add-to-list org-agenda-tag-filter-preset "+PRIORITY<\"C\"")
(use-package org-notify
:disabled t
:config
(progn
(org-notify-add 'default '(:time "100m" :actions -notify/window
(defun imalison:org-notify-notification-handler (plist)
(sauron-add-event 'org-notify 4 (format "%s, %s.\n" (plist-get plist :heading)
(org-notify-body-text plist))))
(setq org-show-notification-handler 'imalison:org-notify-notification-handler)
(org-notify-add 'default '(:time "1h" :actions imalison:org-notify-notification-handler
:period "2m" :duration 60))
(org-notify-add 'default '(:time "100m" :actions imalison:org-notify-notification-handler
:period "2m" :duration 60))
(org-notify-add 'urgent-second '(:time "3m" :actions (-notify/window -ding)
:period "15s" :duration 10))