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

Emacs

2218 readers
7 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?

top 2 comments
sorted by: hot top controversial new old
[โ€“] sparedwhistle@lemmy.ml 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.

[โ€“] 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.