From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: How to simply log things Date: Sat, 22 Oct 2011 12:16:12 +0200 Message-ID: <2011-10-22T12-06-23@devnull.Karl-Voit.at> Reply-To: news1142@Karl-Voit.at Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:47143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHYcv-0004HM-OE for emacs-orgmode@gnu.org; Sat, 22 Oct 2011 06:16:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RHYcu-0007kV-Jc for emacs-orgmode@gnu.org; Sat, 22 Oct 2011 06:16:29 -0400 Received: from lo.gmane.org ([80.91.229.12]:47575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHYcu-0007kR-C9 for emacs-orgmode@gnu.org; Sat, 22 Oct 2011 06:16:28 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RHYct-0005gf-Me for emacs-orgmode@gnu.org; Sat, 22 Oct 2011 12:16:27 +0200 Received: from mail.michael-prokop.at ([88.198.6.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Oct 2011 12:16:27 +0200 Received: from news1142 by mail.michael-prokop.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Oct 2011 12:16:27 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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