emacs-wiki-discuss
[Top][All Lists]
Advanced

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

[emacs-wiki-discuss] A fix for planner-multi-replan-task?


From: Seth Falcon
Subject: [emacs-wiki-discuss] A fix for planner-multi-replan-task?
Date: Sat, 05 Nov 2005 20:36:30 -0800
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (darwin)

Hi Sacha,

Using planner-muse with planner-multi, when I replan a task, the task
is removed from the current page but never shows up at its destination.

This might have certain advantages from a procrastination standpoint,
but... 

I poked around and the following patch seems to make
planner-replan-task (well, really planner-multi-replan-task) work
properly (for me, with just a small amount of testing).


Best,

+ seth


--- planner-multi.el.orig       2005-11-05 20:21:45.000000000 -0800
+++ planner-multi.el    2005-11-05 20:22:52.000000000 -0800
@@ -328,7 +328,7 @@
     ;; Map over any new pages that were not included
     (setq old-pages (mapcar 'planner-link-base 
(planner-multi-task-link-as-list info)))
     (mapcar (lambda (page)
-              (unless (member (planner-page-name) old-pages)
+              (unless (member page old-pages)
                 (planner-find-file page)
                 (if (planner-find-task info)
                     (delete-region (planner-line-beginning-position)






reply via email to

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