Re: [O] How to calculate all time durations in a file automatically?

2019-05-07 Thread Martin Schroeder
Yeah I ended up using a macro and search for CLOCK text but this solution is much cleaner On Tue, May 7, 2019 at 6:04 PM Ihor Radchenko wrote: > > Dear Martin, > > Just go to the beginning of buffer and (while (re-search-forward > org-clock-line-re) (org-ctrl-c-ctrl-c)) . Or you can use

Re: [O] How to calculate all time durations in a file automatically?

2019-05-07 Thread Ihor Radchenko
Dear Martin, Just go to the beginning of buffer and (while (re-search-forward org-clock-line-re) (org-ctrl-c-ctrl-c)) . Or you can use keyboard macros ;) Best, Ihor Martin Schroeder writes: > I have imported a bunch of log lines with CLOCK periods from another > program into an org file but

[O] How to calculate all time durations in a file automatically?

2019-05-07 Thread Martin Schroeder
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]