emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard Riley <rileyrgdev@googlemail.com>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: org-mode <emacs-orgmode@gnu.org>,
	Richard Riley <rileyrgdev@googlemail.com>
Subject: Re: removal of appointments
Date: Fri, 13 Mar 2009 01:34:38 +0100	[thread overview]
Message-ID: <49b9aa22.09c5660a.4e12.ffffba3d@mx.google.com> (raw)
In-Reply-To: <A91E4EFD-3B8F-4C87-A3AD-B191DBF327BB@uva.nl> (Carsten Dominik's message of "Thu, 12 Mar 2009 17:42:32 +0100")

Carsten Dominik <dominik@science.uva.nl> 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	other threads:[~2009-03-13  0:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-12 14:02 removal of appointments Richard Riley
2009-03-12 16:42 ` Carsten Dominik
2009-03-13  0:34   ` Richard Riley [this message]
2009-03-13  3:09     ` Alan E. Davis
2009-03-13  9:12 ` Detlef Steuer
  -- strict thread matches above, loose matches on Subject: below --
2009-03-13 15:05 Rustom Mody

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=49b9aa22.09c5660a.4e12.ffffba3d@mx.google.com \
    --to=rileyrgdev@googlemail.com \
    --cc=dominik@science.uva.nl \
    --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).