this post was submitted on 27 Jun 2023
10 points (100.0% liked)

Emacs

2226 readers
3 users here now

Our infinitely powerful editor.

founded 4 years ago
MODERATORS
 

Hi Guys,

I was trying to make use of :clock-in property in org-capture-templates variable. I thought what it does is it clocks in the item after the capture.
But what it does for me is, it clocks in the item but immediately clocks it out, leaving a 0 minute clock entry. What is the intended use of the property?

you are viewing a single comment's thread
view the rest of the comments
[–] bledley@lemmy.world 2 points 1 year ago

@sparedwhistle@lemmy.ml the way to to use this is with an org-headline or task. For example you have an org document with "*TODO Write 500 words". When you start the task 'M-x-org-clock-in' whilst your cursor is on the headline and when you finish 'M-x-org-clock-out'. You'll see a timer running in the modeline and It'll take care of the properties for you on completion.