From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Wood Subject: org-capture-template :clock-in property not working Date: Mon, 12 Dec 2016 21:57:31 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114400fe5e1e0205437d3132 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGYcm-0007je-6o for emacs-orgmode@gnu.org; Mon, 12 Dec 2016 16:59:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGYcj-0005pF-9L for emacs-orgmode@gnu.org; Mon, 12 Dec 2016 16:59:08 -0500 Received: from mail-vk0-f47.google.com ([209.85.213.47]:36389) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cGYcj-0005nS-4O for emacs-orgmode@gnu.org; Mon, 12 Dec 2016 16:59:05 -0500 Received: by mail-vk0-f47.google.com with SMTP id p9so48562888vkd.3 for ; Mon, 12 Dec 2016 13:58:42 -0800 (PST) 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 --001a114400fe5e1e0205437d3132 Content-Type: text/plain; charset=UTF-8 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))) I'm running Emacs 25.1.1 on Windows. --001a114400fe5e1e0205437d3132 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
After recently upgrading to 20161118, I notice that the cl= ock-in property 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 '(("= t" "Todo" entry (file "/org/refile.org")
"* TODO %?\n%U\n" :clock-in t :clock-re= sume t)))

I'm running Emacs 25.1.1 on Wi= ndows.
--001a114400fe5e1e0205437d3132-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-capture-template :clock-in property not working Date: Tue, 13 Dec 2016 14:09:34 +0100 Message-ID: <87k2b47z75.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGmpr-0002aq-I5 for emacs-orgmode@gnu.org; Tue, 13 Dec 2016 08:09:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGmpo-0006GG-6F for emacs-orgmode@gnu.org; Tue, 13 Dec 2016 08:09:35 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:60415) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cGmpn-0006Fb-Vi for emacs-orgmode@gnu.org; Tue, 13 Dec 2016 08:09:32 -0500 In-Reply-To: (Mark Wood's message of "Mon, 12 Dec 2016 21:57:31 +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" To: Mark Wood Cc: emacs-orgmode@gnu.org 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 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:13:38 +0000 Message-ID: References: <87k2b47z75.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c0b6d8acd658e05438baa8f Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGon7-0007H0-Kp for emacs-orgmode@gnu.org; Tue, 13 Dec 2016 10:14:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGon3-0004zk-Jm for emacs-orgmode@gnu.org; Tue, 13 Dec 2016 10:14:53 -0500 Received: from mail-vk0-f49.google.com ([209.85.213.49]:32978) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cGon3-0004zc-Ei for emacs-orgmode@gnu.org; Tue, 13 Dec 2016 10:14:49 -0500 Received: by mail-vk0-f49.google.com with SMTP id 137so65716474vkl.0 for ; Tue, 13 Dec 2016 07:14:49 -0800 (PST) In-Reply-To: <87k2b47z75.fsf@nicolasgoaziou.fr> 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: Mark Wood , emacs-orgmode@gnu.org --94eb2c0b6d8acd658e05438baa8f Content-Type: text/plain; charset=UTF-8 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 > --94eb2c0b6d8acd658e05438baa8f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I did a little more digging.=C2=A0 I too can get it to wor= k 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 de= fault clock.

Thanks again for looking at it.
=

On Tue, Dec 13, 2016 = at 8:09 AM Nicolas Goaziou <ma= il@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
--94eb2c0b6d8acd658e05438baa8f-- 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--