From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Wood Subject: Re: org-capture-template :clock-in property not working Date: Tue, 13 Dec 2016 15:56:06 +0000 Message-ID: References: <87k2b47z75.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1142f230b06bcc05438c420b Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52432) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGpSE-0003P0-Gw for emacs-orgmode@gnu.org; Tue, 13 Dec 2016 10:57:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGpS9-0002Hi-Qw for emacs-orgmode@gnu.org; Tue, 13 Dec 2016 10:57:22 -0500 Received: from mail-vk0-f49.google.com ([209.85.213.49]:36602) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cGpS9-0002Hb-Nr for emacs-orgmode@gnu.org; Tue, 13 Dec 2016 10:57:17 -0500 Received: by mail-vk0-f49.google.com with SMTP id p9so67566384vkd.3 for ; Tue, 13 Dec 2016 07:57:17 -0800 (PST) In-Reply-To: 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" To: emacs-orgmode@gnu.org --001a1142f230b06bcc05438c420b Content-Type: text/plain; charset=UTF-8 I believe I found my issue. It appears I had a hook upon clockout that was causing issues. So sorry to bother everyone. On the plus side, I learned some lisp debugging skills. Thanks again. On Tue, Dec 13, 2016 at 10:13 AM Mark Wood wrote: > I did a little more digging. I too can get it to work correctly, so long > as there is no Default Clock task identified. > > However, if I create a default clock task, it appears that the :clock-in > property is ignored. > > I'll try to dig into it a little more, but I can reproduce it every time > when there is a default clock. > > Thanks again for looking at it. > > On Tue, Dec 13, 2016 at 8:09 AM Nicolas Goaziou > wrote: > > Hello, > > Mark Wood writes: > > > After recently upgrading to 20161118, I notice that the clock-in property > > in my org-capture-templates is no longer functioning. It appears to > > successfully clock me out of my current task, but that's it. > > > > My capture template is: > > > > (setq org-capture-templates > > '(("t" "Todo" entry (file "/org/refile.org") > > "* TODO %?\n%U\n" :clock-in t :clock-resume t))) > > FWIW I cannot reproduce it, i.e., clock is properly started. > > Regards, > > -- > Nicolas Goaziou > > --001a1142f230b06bcc05438c420b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I believe I found my issue.

It appears = I had a hook upon clockout that was causing issues.=C2=A0 So sorry to bothe= r everyone.

On the plus side, I learned some lisp = debugging skills.

Thanks again.

On Tue, Dec 13, 2016 at 10:13 AM M= ark Wood <mjwood0@gmail.com>= wrote:
I did a little more digging.=C2=A0 I too can get it to work corre= ctly, so long as there is no Default Clock task identified.

However, if= I create a default clock task, it appears that the :clock-in property is i= gnored.

I'll try to dig into it a little more, but I can repr= oduce it every time when there is a default clock.

Thanks again f= or looking at it.

On Tue, Dec 13, 2016 at= 8:09 AM Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
Hello,
Mark Wood <mjwood0@gmail.com> writes:

> After recently upgrading to 20161118, I notice that the clock-in prope= rty
> in my org-capture-templates is no longer functioning.=C2=A0 It appears= to
> successfully clock me out of my current task, but that's it.
>
> My capture template is:
>
> (setq org-capture-templates
>=C2=A0 =C2=A0 =C2=A0 =C2=A0'(("t" "Todo" entry = (file "/org/refile.org")
> "* TODO %?\n%U\n" :clock-in t :clock-resume t)))

FWIW I cannot reproduce it, i.e., clock is properly started.

Regards,

--
Nicolas Goaziou
--001a1142f230b06bcc05438c420b--