From: Karl Voit <devnull@Karl-Voit.at>
To: emacs-orgmode@gnu.org
Subject: How to simply log things
Date: Sat, 22 Oct 2011 12:16:12 +0200 [thread overview]
Message-ID: <2011-10-22T12-06-23@devnull.Karl-Voit.at> (raw)
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 other threads:[~2011-10-22 10:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2011-10-22T12-06-23@devnull.Karl-Voit.at \
--to=devnull@karl-voit.at \
--cc=emacs-orgmode@gnu.org \
--cc=news1142@Karl-Voit.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).