On 2015-08-30, at 17:21, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote:

> Hello,
>
> Point should be on clocked out clock when `org-clock-out-hook' is run.
> You can probably use 
>
>   (org-element-property :duration (org-element-at-point))
>
> to extract last duration.

Thanks, that does the trick!

Still, I'm not sure how to handle the situation when the last line is
automatically removed due to

(setq org-clock-out-remove-zero-time-clocks t)

> Regards,

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University

Reply via email to