emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Richard Riley <rileyrgdev@googlemail.com>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: removal of appointments
Date: Thu, 12 Mar 2009 17:42:32 +0100	[thread overview]
Message-ID: <A91E4EFD-3B8F-4C87-A3AD-B191DBF327BB@uva.nl> (raw)
In-Reply-To: <49b915ee.096c100a.16b9.788b@mx.google.com>


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

  reply	other threads:[~2009-03-12 17:43 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 [this message]
2009-03-13  0:34   ` Richard Riley
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=A91E4EFD-3B8F-4C87-A3AD-B191DBF327BB@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=rileyrgdev@googlemail.com \
    /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).