[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] compute the difference between effort estimates and actual clock
Re: [O] compute the difference between effort estimates and actual clocked time
Tue, 16 Aug 2011 16:25:08 +0200
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)
M.P. <address@hidden> writes:
> I'd like to add to my tasks a property whose value should be the difference
> time between the effort estimates and the actual clocked time. The final
> is to use the property in column view mode as I do with CLOCKSUM and Effort.
> Could you give me any hints?
There is no way to do this easily right now.
However, this command will display the remaining effort:
(defun my-org-display-remaining-effort ()
"Compute remaining effort for current subtree."
(let ((clocksum (org-clock-sum-current-item))
(org-entry-get (point) "Effort"))))
(message (org-minutes-to-hh:mm-string (- effort clocksum)))))
Also, the attached patch allow to postprocess property values with
custom functions when inserting them with org-set-properties.
Let me know if you find this useful!
Description: Text Data
- Re: [O] compute the difference between effort estimates and actual clocked time,