From: Ihor Radchenko <yantar92@gmail.com>
To: Martin Schroeder <mkschreder.uk@googlemail.com>, emacs-orgmode@gnu.org
Subject: Re: How to calculate all time durations in a file automatically?
Date: Wed, 08 May 2019 00:03:11 +0800 [thread overview]
Message-ID: <87y33i8d6o.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <CAGmj6qtBELg7avUnJWJEd6HLZJ9NtuNV3bsy9dK25VyTatz1Pw@mail.gmail.com>
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 <mkschreder.uk@googlemail.com> 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?
>
next prev parent reply other threads:[~2019-05-07 16:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-07 9:12 How to calculate all time durations in a file automatically? Martin Schroeder
2019-05-07 16:03 ` Ihor Radchenko [this message]
2019-05-07 18:08 ` Martin Schroeder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y33i8d6o.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me \
--to=yantar92@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mkschreder.uk@googlemail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).