emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Cecil Westerhof <cldwesterhof@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Adding and subtracting from clocked entries.
Date: Tue, 5 Nov 2013 11:05:02 +0100	[thread overview]
Message-ID: <CAG-LmmDhLhcecXtEKYykoY0Y4v5n2y4Qm3bPv5bnckxBuwGb=g@mail.gmail.com> (raw)
In-Reply-To: <CAG-LmmCq3vEpK2w13_m49Oz1eXWwoUgf6ux_dMyxup+_pfQw=g@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1261 bytes --]

2013/11/5 Cecil Westerhof <cldwesterhof@gmail.com>

> 2013/11/4 Bastien <bzg@gnu.org>
>
>> > For example I am working on project A from 09:00 until 13:00. But
>> > during this period I also worked for fifteen minutes on project B. I
>> > would like to subtract those fifteen minutes from project A and add
>> > them to project B. Can this be done?
>>
>> I assume you stopped the clock on A, then started it on B, then
>> stopped it on B, then restarted it on A.
>>
>> In this case, go to the end of the B clock timestamp, put the point
>> on the HH:MM string, and hit S-M-<down> three times, so that the clock
>> sum for B is zero, and the clock sum for A is added 15 minutes.
>>
>
It works, but it gives pollution. It take the last minutes from B and put
them to A. (And it was somewhere in the middle I spend the time.) Also when
I have worked on two other projects while working on the project, it does
not work of-course.

Adding can be done by something like:
    CLOCK: [2013-11-05 Tue 00:00]--[2013-11-05 Tue 00:15] =>  0:15
    CLOCK: [2013-11-05 Tue 00:00]--[2013-11-05 Tue 00:15] =>  0:15

This works, two times 15 minutes is added, but sadly this does not work:
    CLOCK: [2013-11-05 Tue 00:15]--[2013-11-05 Tue 00:00] => -0:15

-- 
Cecil Westerhof

[-- Attachment #2: Type: text/html, Size: 2031 bytes --]

      reply	other threads:[~2013-11-05 10:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-04 14:02 Adding and subtracting from clocked entries Cecil Westerhof
2013-11-04 14:47 ` Pete Ley
2013-11-04 15:02   ` Cecil Westerhof
2013-11-04 15:26     ` Pete Ley
2013-11-04 22:09 ` Bastien
2013-11-05  7:54   ` Cecil Westerhof
2013-11-05 10:05     ` Cecil Westerhof [this message]

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='CAG-LmmDhLhcecXtEKYykoY0Y4v5n2y4Qm3bPv5bnckxBuwGb=g@mail.gmail.com' \
    --to=cldwesterhof@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).