From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard G Riley Subject: problem with appointments not cancelling Date: Tue, 26 Aug 2008 14:05:59 +0200 Message-ID: <2k63po0ymw.fsf@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KXxJQ-0005FU-KJ for emacs-orgmode@gnu.org; Tue, 26 Aug 2008 08:06:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KXxJP-0005F1-V7 for emacs-orgmode@gnu.org; Tue, 26 Aug 2008 08:06:16 -0400 Received: from [199.232.76.173] (port=58506 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXxJP-0005Ey-Rz for emacs-orgmode@gnu.org; Tue, 26 Aug 2008 08:06:15 -0400 Received: from wr-out-0506.google.com ([64.233.184.233]:35585) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KXxJP-0003s8-NZ for emacs-orgmode@gnu.org; Tue, 26 Aug 2008 08:06:15 -0400 Received: by wr-out-0506.google.com with SMTP id c30so2209296wra.14 for ; Tue, 26 Aug 2008 05:06:15 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode I have the following in one of my org files but the reminder is still popping up (or was until the original scheduled time was passed). What do I need to call to have a cancelled org entry removed from the reminder mechanism? I use the gtk reminder system and include the code below. Does the org-agenda-to-appt not remove closed/cancelled entries? (Note I changed the run-at-time parameters to run now and repeat every while). 1) org entry ** CANCELED gf SCHEDULED: <2008-08-26 Tue 14:00> CLOSED: [2008-08-26 Tue 13:50] 2) code ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; For org appointment reminders ; 5 minute warnings (setq appt-message-warning-time '15) (setq appt-display-interval '5) ; Update appt each time agenda opened. (add-hook 'org-finalize-agenda-hook 'org-agenda-to-appt) ; Setup zenify, we tell appt to use window, and replace default function (setq appt-display-format 'window) (setq appt-disp-window-function (function my-appt-disp-window)) (defun my-appt-disp-window (min-to-app new-time msg) (save-window-excursion (shell-command (concat "/usr/bin/zenity --info --title='Appointment' --text='" msg "' &" ) nil nil) )) ;; activate and schedule refresh (appt-activate t) (run-at-time nil 3600 'org-agenda-to-appt)