[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How to calculate all time durations in a file automatically?
From: |
Ihor Radchenko |
Subject: |
Re: [O] How to calculate all time durations in a file automatically? |
Date: |
Wed, 08 May 2019 00:03:11 +0800 |
Dear Martin,
Just go to the beginning of buffer and <M-:> (while (re-search-forward
org-clock-line-re) (org-ctrl-c-ctrl-c)) <RET>. Or you can use keyboard
macros ;)
Best,
Ihor
Martin Schroeder <address@hidden> writes:
> I have imported a bunch of log lines with CLOCK periods from another
> program into an org file but I have forgotten to calculate periods. So
> my time lines look like this:
>
> CLOCK: [2019-03-27 Wed 19:30]--[2019-03-27 Wed 21:30]
>
> Instead of this:
>
> CLOCK: [2019-03-27 Wed 19:30]--[2019-03-27 Wed 21:30] => 2:00
>
> I can now no longer check in on any task until I fix all these ranges
> in all of my agenda files. So I have to go to each one and do C-c C-c.
>
> Surely there has to be a better way but in my searching with a giant
> flashlight I was not able to find it yet. Can anybody point me in the
> right direction?
>