emacs-orgmode
[Top][All Lists]
Advanced

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

[O] How to simply log things


From: Karl Voit
Subject: [O] How to simply log things
Date: Sat, 22 Oct 2011 12:16:12 +0200
User-agent: slrn/0.9.9 (Linux)

Hi!

I do have the requirements to log certain things. Those things are
not regularly and are «triggered» externally. So far I have used
following method:

,----
| ** TODO foobar happened
| DEADLINE: <2031-10-05 Sun .+240m -1d>
| :LOGBOOK:
| - State "DONE"       from "TODO"       [2011-10-05 Wed 00:16]
| - State "DONE"       from "TODO"       [2011-09-24 Sat 15:27]
| - State "DONE"       from "TODO"       [2011-09-08 Thu 08:49]
| - State "DONE"       from "TODO"       [2011-08-05 Fri 08:35]
| :END:
| :PROPERTIES:
| :CREATED: <2011-07-12 Tue 14:27>
| :LAST_REPEAT: [2011-10-05 Wed 00:16]
| :END:
`----

What it does: whenever I go to this heading and invoke C-c C-t to
set it to DONE, a new line will be created in the LOGBOOK drawer.
This is all I need: a simple timestamp related to a topic/heading.

With the .+240m recurrence definition[1], the TODO basically stays
in my Org-mode file and never shows up in my agenda (which is what I
want to achieve).

Although it works perfectly I got the feeling that this is some kind
of dirty workaround where Org-mode might provide something that is
«cleaner». 

Am I right?

  1. Initially I used .+999m but that exceeded UNIX epoch causing 
     troubles :-)
-- 
Karl Voit




reply via email to

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