[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] Duplicate appointments with planner-appt (was: plan
From: |
Romain Francoise |
Subject: |
[emacs-wiki-discuss] Duplicate appointments with planner-appt (was: planner-browse-position-url quick fix) |
Date: |
Thu, 23 Jun 2005 07:50:25 +0200 |
Jim Ottaway <address@hidden> writes:
> I hadn't heard of it doing this. Could you post your changes to
> planner-appt?
Sure. My conf is the following:
(require 'planner-appt)
(planner-appt-use-tasks-and-schedule)
(planner-appt-insinuate)
(appt-activate 1)
Let's say I add one schedule appt. Each time I save the file (C-u M-~
C-x C-s), the function named `planner-appt-add-appts-from-schedule' adds
an entry in the appt list even if it's already there... so I changed it
to prevent duplicates, though both the construction of the text and the
way I use `appt-time-msg-list' directly are total hacks. :-)
--- orig/planner-appt.el
+++ mod/planner-appt.el
@@ -1203,7 +1203,9 @@
;; Ignore if this is an appt copied from the
;; task section.
(member line
- --planner-appt-lines-added-to-section))
+ --planner-appt-lines-added-to-section)
+ (member (concat time " " text)
+ (mapcar 'cadr appt-time-msg-list)))
(appt-add time text)
;; Remember tasks added here.
(setq --planner-appt-schedule-added-appts
--
Romain Francoise <address@hidden> | All you've been is a piece of
it's a miracle -- http://orebokech.com/ | blood wrapped in skin.
- [emacs-wiki-discuss] planner-browse-position-url quick fix, Romain Francoise, 2005/06/21
- [emacs-wiki-discuss] Re: planner-browse-position-url quick fix, Sacha Chua, 2005/06/21
- [emacs-wiki-discuss] Re: planner-browse-position-url quick fix, Romain Francoise, 2005/06/21
- [emacs-wiki-discuss] Re: planner-browse-position-url quick fix, Sacha Chua, 2005/06/22
- [emacs-wiki-discuss] Re: planner-browse-position-url quick fix, Romain Francoise, 2005/06/22
- Re: [emacs-wiki-discuss] Re: planner-browse-position-url quick fix, Jim Ottaway, 2005/06/22
- [emacs-wiki-discuss] Duplicate appointments with planner-appt (was: planner-browse-position-url quick fix),
Romain Francoise <=
- Re: [emacs-wiki-discuss] Duplicate appointments with planner-appt, Jim Ottaway, 2005/06/23
- [emacs-wiki-discuss] Re: Duplicate appointments with planner-appt, Romain Francoise, 2005/06/23
- Re: [emacs-wiki-discuss] Re: Duplicate appointments with planner-appt, Jim Ottaway, 2005/06/23
- Re: [emacs-wiki-discuss] Re: Duplicate appointments with planner-appt, Jim Ottaway, 2005/06/23
- [emacs-wiki-discuss] Re: Duplicate appointments with planner-appt, Romain Francoise, 2005/06/23
- [emacs-wiki-discuss] trailing whitespace and such (was: Re: Duplicate appointments with planner-appt), Vadim Nasardinov, 2005/06/23
- [emacs-wiki-discuss] Re: trailing whitespace and such, Romain Francoise, 2005/06/23
- Re: [emacs-wiki-discuss] Re: Duplicate appointments with planner-appt, Jim Ottaway, 2005/06/23
- Re: [emacs-wiki-discuss] Duplicate appointments with planner-appt, Jim Ottaway, 2005/06/23
- [emacs-wiki-discuss] Welcome to Planner (was Re: planner-browse-position-url quick fix), Sacha Chua, 2005/06/22