From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Beckwith Subject: Issue with correctly resuming interrupted timer Date: Fri, 23 Jul 2010 08:59:55 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=42165 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OcHrk-000215-1x for emacs-orgmode@gnu.org; Fri, 23 Jul 2010 09:00:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OcHrX-0007H1-SN for emacs-orgmode@gnu.org; Fri, 23 Jul 2010 09:00:28 -0400 Received: from mail-qy0-f169.google.com ([209.85.216.169]:55494) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcHrX-0007Gv-GZ for emacs-orgmode@gnu.org; Fri, 23 Jul 2010 09:00:27 -0400 Received: by qyk9 with SMTP id 9so127906qyk.0 for ; Fri, 23 Jul 2010 06:00:27 -0700 (PDT) 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 I have an issue with my particular setup when using org-capture. Here is my relevant capture template: (setq org-capture-templates '(("t" "todo" entry (file "~/Documents/Org/Refile.org") "* TODO %?\n %U\n %a" :clock-in t :clock-resume t)) I have all tasks go to the file Refile.org as shown above. They are are first-level TODOs. Say I have a list of tasks such as * TODO A (Currently clocked in) * TODO B * TODO C Also let the point be on the task B line. Now if I call org-capture and store a task, B become the task that get clocked in after completing the capture. Which gives me: * TODO A * TODO B (Now clocked in) * TODO C * TODO New Capture I believe that the issue is within org-capture-finalize and the call to org-with-point-at, but I have exceeded my elisp debugging skills and need help. I am using the very latest org-mode master with emacs 23.1 on windows. Any ideas?