From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Bug: Cloning tasks deletes clock time in the original [7.7 (release_7.7-571-gf558105)] Date: Sat, 19 Nov 2011 21:37:08 -0500 Message-ID: <87zkfrfrjf.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RRxHP-0007P0-NB for emacs-orgmode@gnu.org; Sat, 19 Nov 2011 21:37:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RRxHO-0007y7-Kq for emacs-orgmode@gnu.org; Sat, 19 Nov 2011 21:37:15 -0500 Received: from mho-03-ewr.mailhop.org ([204.13.248.66]:62931 helo=mho-01-ewr.mailhop.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RRxHO-0007y2-Ix for emacs-orgmode@gnu.org; Sat, 19 Nov 2011 21:37:14 -0500 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([99.239.148.180] helo=mail.norang.ca) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1RRxHN-00009G-Kz for emacs-orgmode@gnu.org; Sun, 20 Nov 2011 02:37:13 +0000 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 Consider the following org file: --8<---------------cut here---------------start------------->8--- * Orig Task 1 SCHEDULED: <2011-11-19 Sat +1w> :LOGBOOK: - Note taken on [2011-11-19 Sat 21:24] \\ foo CLOCK: [2011-11-18 Fri 20:30]--[2011-11-18 Fri 21:24] => 0:54 CLOCK: [2011-11-19 Sat 20:23]--[2011-11-19 Sat 21:23] => 1:00 :END: [2011-11-19 Sat 21:23] --8<---------------cut here---------------end--------------->8--- This is a repeating task with some clock time on it. Now I need to change the 2nd occurrence from now so I clone the task to create 2 more followed by the repeater as follows: On the task do C-c C-x c 2 RET +1w RET Now I get this so I can edit one of the individual entries --8<---------------cut here---------------start------------->8--- * Orig Task 1 SCHEDULED: <2011-11-19 Sat> :LOGBOOK: - Note taken on [2011-11-19 Sat 21:24] \\ foo :END: [2011-11-19 Sat 21:23] * Orig Task 1 SCHEDULED: <2011-11-26 Sat> :LOGBOOK: - Note taken on [2011-11-26 Sat 21:24] \\ foo :END: [2011-11-26 Sat 21:23] * Orig Task 1 SCHEDULED: <2011-12-03 Sat> :LOGBOOK: - Note taken on [2011-12-03 Sat 21:24] \\ foo :END: [2011-12-03 Sat 21:23] * Orig Task 1 SCHEDULED: <2011-12-10 Sat +1w> :LOGBOOK: - Note taken on [2011-12-10 Sat 21:24] \\ foo :END: [2011-12-10 Sat 21:23] --8<---------------cut here---------------end--------------->8--- I have the entries I want but my original clock lines have been deleted. I would expect this behaviour for the newly created clones only - not the original entry. I ran into this for a weekly meeting task I cloned and ended up recovering my clock lines from my hourly git repository but this shouldn't be necessary. I'm also not sure exactly why I get 3 entries when I ask for two -- maybe that's a special case of the repeater in the original task but it feels weird. Regards, Bernt Emacs : GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11 on raven, modified by Debian Package: Org-mode version 7.7 (release_7.7-571-gf558105)