From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cecil Westerhof Subject: Re: Adding and subtracting from clocked entries. Date: Tue, 5 Nov 2013 11:05:02 +0100 Message-ID: References: <87sivb4y4p.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b86df468719f104ea6b2afe Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VddVR-0000hs-5A for emacs-orgmode@gnu.org; Tue, 05 Nov 2013 05:05:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VddVP-0006Jp-Qe for emacs-orgmode@gnu.org; Tue, 05 Nov 2013 05:05:05 -0500 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:45116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VddVP-0006Hr-KL for emacs-orgmode@gnu.org; Tue, 05 Nov 2013 05:05:03 -0500 Received: by mail-wi0-f172.google.com with SMTP id ez12so1823165wid.5 for ; Tue, 05 Nov 2013 02:05:02 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --047d7b86df468719f104ea6b2afe Content-Type: text/plain; charset=ISO-8859-1 2013/11/5 Cecil Westerhof > 2013/11/4 Bastien > >> > 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- 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 --047d7b86df468719f104ea6b2afe Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
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
<= div> > 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 cloc= k
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. (An= d 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-co= urse.

Adding can be done by something like:
=A0=A0=A0 CLOCK: [2= 013-11-05 Tue 00:00]--[2013-11-05 Tue 00:15] =3D>=A0 0:15
=A0=A0=A0 C= LOCK: [2013-11-05 Tue 00:00]--[2013-11-05 Tue 00:15] =3D>=A0 0:15
This works, two times 15 minutes is added, but sadly this does = not work:
=A0=A0=A0 CLOCK: [2013-11-05 Tue 00:15]--[2013-11-05 Tue 00:00] =3D> -0:= 15

--
Cecil Westerhof --047d7b86df468719f104ea6b2afe--