From mboxrd@z Thu Jan 1 00:00:00 1970 From: Puneeth Subject: Re: [BUG] Org-capturing items to clock Date: Sun, 8 Aug 2010 12:43:58 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=50902 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oi97M-0001kF-9k for emacs-orgmode@gnu.org; Sun, 08 Aug 2010 12:53:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oi05N-0001MZ-7F for emacs-orgmode@gnu.org; Sun, 08 Aug 2010 03:14:22 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:38265) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oi05N-0001MG-2t for emacs-orgmode@gnu.org; Sun, 08 Aug 2010 03:14:21 -0400 Received: by wyg36 with SMTP id 36so10224346wyg.0 for ; Sun, 08 Aug 2010 00:14:18 -0700 (PDT) In-Reply-To: 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: Carsten Dominik Cc: emacs-orgmode Hi, On Sun, Aug 8, 2010 at 12:19 PM, Carsten Dominik wrote: > Hi, > > I think this bug has been fixed with Bernd's patch. =C2=A0Can you > please try and confirm? No. It doesn't seem to have been fixed. I have been able to reproduce it with the exact method as sent in the previous mail. I'm at Org-mode version 7.01trans (release_7.01h.90.gdff9) -- Puneeth > Thanks! > > - Carsten > > On Jul 23, 2010, at 12:42 PM, Puneeth wrote: > >> Hi all, >> >> I've found a bug with capturing as item to a running clock. I reduced >> my dot-emacs to the bare minumum(given below), but the problem >> continues. >> >> Here is how it goes. >> >> + refile.org is in state 0. >> + C-M-r t >> + TODO task One entered. Clock is running. I switch to firefox and >> save the link. C-c C-c. >> + refile.org is in state 1. The link is correctly saved >> + C-M-r t (again) >> + TODO task Two entered. Clock is running. I switch to firefox and >> save the link. C-c C-c. >> + refile.org is in state 1. The link is wrongly saved. The item is >> appended to a wrong (existing list) instead of starting a new list. >> >> If I change my capture template to make the link to be an entry >> instead of an item, things work as expected. >> >> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; >> ;;refile.org-state 0 >> * Tasks >> >> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; >> ;;refile.org-state 1 >> * Tasks >> ** TODO One >> =C2=A0CLOCK: [2010-07-23 Fri 15:57]--[2010-07-23 Fri 15:57] =3D> =C2=A00= :00 >> - [[http://orgmode.org/][Org-Mode: Your Life in Plain Text]] >> >> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; >> ;;refile.org-state 2 >> * Tasks >> ** TODO One >> =C2=A0CLOCK: [2010-07-23 Fri 15:57]--[2010-07-23 Fri 15:57] =3D> =C2=A00= :00 >> - [[http://orgmode.org/][Org-Mode: Your Life in Plain Text]] >> - [[http://orgmode.org/worg/][Hello Worg!]] >> ** TODO Two >> =C2=A0CLOCK: [2010-07-23 Fri 15:59]--[2010-07-23 Fri 16:00] =3D> =C2=A00= :01 >> >> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; >> ;;dot-emacs >> ;; Load up Org Mode and Babel >> (setq load-path (cons "~/.emacs.d/elisp/org/lisp" load-path)) >> (setq load-path (cons "~/.emacs.d/elisp/org/contrib/lisp" load-path)) >> >> (require 'org-install) >> >> (require 'org-capture) >> (global-set-key (kbd "C-M-r") 'org-capture) >> >> (server-start) >> ;; org-protocol >> (require 'org-protocol) >> >> (setq org-capture-templates >> =C2=A0 =C2=A0 '(("t" "task" entry >> =C2=A0 =C2=A0 =C2=A0 =C2=A0(file+headline "refile.org" "Tasks") >> =C2=A0 =C2=A0 =C2=A0 =C2=A0"* TODO %? \n\n\n =C2=A0" :clock-in t :clock-= resume t) >> =C2=A0 =C2=A0 =C2=A0 ("x" "save relevant links" item >> =C2=A0 =C2=A0 =C2=A0 =C2=A0(clock) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0"- [[%:link][%:description]]" :immediate-fini= sh t))) >>