From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Frings Subject: Re: Function that splits a CLOCK interval Date: Wed, 1 Apr 2015 12:37:14 +0200 Message-ID: <2A9C3F90-716A-4B98-AD54-B935BB562685@agfa.com> References: <551AD28B.2060405@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55972) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdG1Q-0007Cz-LE for emacs-orgmode@gnu.org; Wed, 01 Apr 2015 06:37:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YdG1N-00055m-Qc for emacs-orgmode@gnu.org; Wed, 01 Apr 2015 06:37:20 -0400 Received: from mornm02-out.agfa.com ([134.54.10.9]:10232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdG1N-00054i-LD for emacs-orgmode@gnu.org; Wed, 01 Apr 2015 06:37:17 -0400 In-Reply-To: <551AD28B.2060405@gmail.com> 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: Christoph LANGE Cc: "emacs-orgmode@gnu.org" On 31 Mar 2015, at 18:59, Christoph LANGE = wrote: > I use org's clocking facility to clock all my working time. I = frequently find myself clocking time for a task T1, but later realize = that I actually spent part of this time on some other task T2. [snip] > The following function now automates the task of splitting: Fantastic, just what I needed!=20 One little thing, though. When I interrupt the function with C-g at the = prompt, the current line is already duplicated. It would by nice that = C-g left the buffer unchanged. But other than that, this is a godsend for sloppy time-loggers like me. Cheers, Peter.