From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viktor Rosenfeld Subject: Bug? org-capture resumes clock on captured (not interruped) task Date: Sat, 24 Jul 2010 00:54:36 +0200 Message-ID: <20100723225436.GA88179@stan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=46495 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OcR9g-0007ol-FZ for emacs-orgmode@gnu.org; Fri, 23 Jul 2010 18:55:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OcR9f-0004jU-7f for emacs-orgmode@gnu.org; Fri, 23 Jul 2010 18:55:48 -0400 Received: from mail-fx0-f41.google.com ([209.85.161.41]:39774) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcR9f-0004jK-0C for emacs-orgmode@gnu.org; Fri, 23 Jul 2010 18:55:47 -0400 Received: by fxm20 with SMTP id 20so5871600fxm.0 for ; Fri, 23 Jul 2010 15:55:45 -0700 (PDT) Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, I have the following capture template template: ("t" "Todo" entry (file+headline (concat org-directory "openloops.org") "Open Loops") "* TODO %?\nSCHEDULED: %t" :prepend t :clock-in t :clock-resume t) After finishing a capture process that interrupted a running clock, the just captured task has two clock entries: one for the capture process and an open clock, like so: * STARTED The task I just captured SCHEDULED: <2010-07-24 Sat> :LOGBOOK: CLOCK: [2010-07-24 Sat 00:52] CLOCK: [2010-07-24 Sat 00:52]--[2010-07-24 Sat 00:52] => 0:00 :END: That is, the clock is restarted on the wrong task. I've installed org-mode directly from the git reposity. Cheers, Viktor