emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-capture-template :clock-in property not working
@ 2016-12-12 21:57 Mark Wood
  2016-12-13 13:09 ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Wood @ 2016-12-12 21:57 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 396 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 671 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: org-capture-template :clock-in property not working
  2016-12-12 21:57 org-capture-template :clock-in property not working Mark Wood
@ 2016-12-13 13:09 ` Nicolas Goaziou
  2016-12-13 15:13   ` Mark Wood
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2016-12-13 13:09 UTC (permalink / raw)
  To: Mark Wood; +Cc: emacs-orgmode

Hello,

Mark Wood <mjwood0@gmail.com> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: org-capture-template :clock-in property not working
  2016-12-13 13:09 ` Nicolas Goaziou
@ 2016-12-13 15:13   ` Mark Wood
  2016-12-13 15:56     ` Mark Wood
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Wood @ 2016-12-13 15:13 UTC (permalink / raw)
  To: Mark Wood, emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 985 bytes --]

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 <mail@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Mark Wood <mjwood0@gmail.com> 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
>

[-- Attachment #2: Type: text/html, Size: 1971 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: org-capture-template :clock-in property not working
  2016-12-13 15:13   ` Mark Wood
@ 2016-12-13 15:56     ` Mark Wood
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Wood @ 2016-12-13 15:56 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1276 bytes --]

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 <mjwood0@gmail.com> 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 <mail@nicolasgoaziou.fr>
> wrote:
>
> Hello,
>
> Mark Wood <mjwood0@gmail.com> 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
>
>

[-- Attachment #2: Type: text/html, Size: 2835 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-12-13 15:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-12 21:57 org-capture-template :clock-in property not working Mark Wood
2016-12-13 13:09 ` Nicolas Goaziou
2016-12-13 15:13   ` Mark Wood
2016-12-13 15:56     ` Mark Wood

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).