emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to simply log things
@ 2011-10-22 10:16 Karl Voit
  0 siblings, 0 replies; only message in thread
From: Karl Voit @ 2011-10-22 10:16 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-10-22 10:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-22 10:16 How to simply log things Karl Voit

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).