emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] capture question


From: Bernt Hansen
Subject: Re: [O] capture question
Date: Thu, 11 Aug 2011 19:32:21 -0400
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux)

Mark Scala <address@hidden> writes:

> Hi, 
>
> I've been using capture for, among other things, capturing
> interruptions to clocked tasks.  For this, I use something like the
> following template:
>
> ("i" "interruption" entry (file "refile.org") "A TEMPLATE HERE"
> :clock-in t :clock-resume t)
>
> One thing that has been bothering me is that there are really two
> types of interruption that deserve different treatment.  Sometimes
> the interrupting task is completed by the time I file it with C-c
> C-c.  Other times it is not.  But both types are filed with the todo
> keyword STARTED.  For those (and only those) interruptions that are
> finished by the time I file them, I'd like them to have the keyword
> DONE automatically.  Has anyone encountered this case and found a
> solution?

Hi Mark,

Just add one step to mark the task DONE before you file it away.

C-c C-t d (mark DONE)
C-c C-c (file it and stop the clock)

How is org-mode supposed to divine that this task you are capturing is
DONE when you file it but another one isn't?  You'll have to indicate
somehow how you differentiate between these capture tasks.

If you can do that programmatically maybe you can add a capture hook
which marks the task done when you file it.

Regards,
Bernt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]