[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] (org-entry-get (point) "CLOCK") fails now
From: |
Marcin Borkowski |
Subject: |
Re: [O] (org-entry-get (point) "CLOCK") fails now |
Date: |
Sun, 30 Aug 2015 22:18:13 +0200 |
On 2015-08-30, at 17:21, Nicolas Goaziou <address@hidden> 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