On Mar 12, 2009, at 3:02 PM, Richard Riley wrote:
I use
(run-at-time nil 300 'org-agenda-to-appt)
(appt-activate t)
to add org tasks to emacs appointment handling.
Is there a way for org to remove these entries when marked as done or
cancelled?
There is org-after-todo-state-change-hook which is run after
a state changes. You could check
(member state org-done-keywords)
and if yes, refresh the appointment list with
(org-agenda-to-appt t)
This will re-generate the entire task list, you
will probably feel the impact. I don't know a way to remove
individual entries.
While on the subject, is there any concept of an "alarm" in
org? Or is this just a scheduled item? It would be nice of there was a
way to trigger specific functions based on the tags -e.g play wave
file
for a reminder of a task of a certain type. Is there something like
this
anyone can recommend or point me to? I would like to configure org
as my
alarm clock too!
Isn't this exactly what appt does??????
- Carsten
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode