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

Emacs

2190 readers
1 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
[–] [email protected] 3 points 1 year ago

I think I've figured it out.
:clock-in t is intended for capturing the time you spend on writing the item. So the clock starts as soon as you start writing/capturing, and ends as soon as you C-c C-c to finilize/stop-writing.
if you want the clock to keep running after finalizing, you need to use :clock-in t :clock-keep t.