Hi, Carsten and Bastien,

Thanks a lot for putting a lot of thought on this. I always get more than I asked for here, which is rare in life. :-)

Just one more question though: Are we going to make the "CANCELED(c!)" notation also a global option (vs per-file option) when we define the TODO states in .emacs? I almost never use per-file options (except for exporting) as I want to stick to one simple set-up everywhere.

Thank you.

Wanrong

Carsten Dominik wrote:
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 <[EMAIL PROTECTED]> 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




_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to