emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] removal of appointments


From: Richard Riley
Subject: Re: [Orgmode] removal of appointments
Date: Fri, 13 Mar 2009 01:34:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

Carsten Dominik <address@hidden> writes:

> 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??????

Exactly? No. I guess I was just fishing to see if someone had
implemented something like a "make a noise property" with a sleep
feature for example that associated a certain property with a WAV/mp3
file and when the appointment is triggered it will play the audo file if
appropriate.


>
> - Carsten
>

-- 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]