Hi Bastien,
I am not sure this i a complete enough solution. If I understand
Wanrong correctly,
I think he wants to be able to define the specific states that should
record a time.
So I guess a complete solution would be to introduce a character like
"!", similar to the "@" we are already using to denote taking a note. So
#+TODO: TODO(t) WAITING(w@) | DELEGATED DONE CANCELED(c!)
would record a note when switching to WAITING, and only a time when
switching to CANCELED.
- Carsten
On Feb 14, 2008, at 3:53 AM, Bastien Guerry wrote:
Wanrong Lin <address@hidden> writes:
I would like to record down the time stamp when a TODO item changed its
state into some specific states (like "DELEGATED"), but I don't want to
be prompt with a window for notes.
I like the idea.
Here is a patch against latest org.el from git that implements something
that might suits your needs.
If you add "%!" to one of the heading in `org-log-note-headings' then
Org doesn't pop up a new buffer, the log is filled automatically.
(setq org-log-note-headings
'((done . "CLOSING NOTE %t")
(state . "State %-12s %t%!")
(clock-out . ""))))
Carsten, if you like it, I push it and update the manual accordingly.
<org.el.patch>
--
Bastien