Hi, John,
Thank you for your reply. I am cc copying this email to the mailing list.
My understanding of the deadline calculation is: if a task is schedule
on day page yyyy.mm.dd.muse, the count down to the deadline is from
yyyy.mm.dd, not from when the page is viewed, or when emacs session is
opened. So, planner should be able to calculate the correct count down
purely from what day page the task is in, and that calculation should
happen when the task is scheduled, not when the task is viewed.
Wanrong
Right now, planner task deadlines are updated whenever "planner-goto" is
invoked, by adding "planner-deadline-update" into the "planner-goto-hook". I
found that quite annoying since whenever I go to a day page with deadlines in
it, the planner page is "changed" due to this hook, even when nothing really
changed, and I have to save the buffer. It also confuses me which files really
need to be saved when exiting emacs.
So, is it possible to automatically update the deadline in a page when
"planner-copy-or-move-task" is invoked? Basically, the idea is all task
information (including the deadline) should be in good integrity when they are
stored, not when they are viewed.
These seem like very different things to me. I think it has to recalculate the
deadline every time you visit a page, because your emacs session may have been
open for a few days, and so the countdown may be wrong. Does that make sense?
_______________________________________________
Planner-el-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/planner-el-discuss