bugPlanner.el and related modules - Bugs: bug #9951, `planner-rank-update-current-task'...

Show feedback again

bug #9951: `planner-rank-update-current-task' doesn't update the rank unless the task has a deadline

Submitted by:  None
Submitted on:  Fri 07 Sep 2007 10:19:19 PM UTC  
Category: SourceSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Fri 07 Sep 2007 10:19:19 PM UTC, original submission:

I've just started using Planner, and was horsing around with `planner-rank' this weekend. I've stumbled across what looks like a bug (to me) in `planner-rank-update-current-task'. Here's the offending line:

(when (and deadline
(not (equal status "X"))
(not (equal status "C")))
(setq urgency (planner-rank-calculate-urgency-from-deadline
(planner-deadline-days-left deadline task-info)))
(planner-rank-change importance urgency))

As I read this, the intent is to call `planner-rank-calculate-urgency-from-deadline' when the current task has a deadline and is neither completed or cancelled, and `planner-rank-change' otherwise. However, the `when' clause will omit everthing after if it's condition isn't satisfied. Should that not be an `if'?



(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.


Error: not logged in



No Changes Have Been Made to This Item
Show feedback again

Back to the top

Powered by Savane 3.1-cleanup