From: Darlan Cavalcante Moreira <darcamo@gmail.com>
To: Michael Gilbert <mcg@gilbert.org>
Cc: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: tabular logging of values in habits and other repeating tasks
Date: Mon, 05 Jul 2010 23:06:48 +0200 [thread overview]
Message-ID: <E1OVstO-0005HP-E2@eggs.gnu.org> (raw)
In-Reply-To: <5F22792E-7BCB-4CEB-9119-FCD4A56DA320@gilbert.org>
What I though is something like the task below
--8<---------------cut here---------------start------------->8---
* TODO Running
:PROPERTIES:
:STYLE: habit
:END:
| Date | Place | Distance |
|------------------+------------------+----------|
| [2010-07-03 Sáb] | Park Something | 6km |
| [2010-07-05 Seg] | Some other place | 5km |
--8<---------------cut here---------------end--------------->8---
You then create a template that adds a line after the hline in the
table. That way the most recent completed task would be in the top.
Whenever you do the task you call org-capture with the template to add a
new line to the table and then mark the task as done. It is true that
adding the line and marking the task as done are not a "single thing", but
with org-capture you can add a line to the table from any buffer without
needing to go until the task heading and the table keeps everything more
organized.
Also, you can give this table a name and do whatever you want with it using
org babel super powers. You could easily calculate the mean distance that
you run, the variance, maybe even plot the distances that you run in each
day (there is probably a way to use the inactive timestamps as values for
the x axis). This would not be possible if you store the information as
notes in the task.
--
Darlan
At Mon, 5 Jul 2010 11:31:59 -0700,
Michael Gilbert <mcg@gilbert.org> wrote:
>
> On Jul 5,2010, at 2:01 AM, Darlan Cavalcante Moreira wrote:
>
> > You can create a table in the task and possibly a template (with org
> > capture) to easily add a new line to this table. Whenever you complete the
> > task you add the information to the table and mark the task as DONE. An
> > advantage of this is that you can use the org-babel powers to make whatever
> > you want with the information.
>
> Thank you, Darlan — that is more or less what I thought. But here's the thing (which betrays by rather shallow understanding of org-mode at this point): I know how to create such a table. But what I don't know is how to get the prompt to enter a new row. The notes function for tasks that are marked done don't navigate you to a previously defined block of text, if I'm not mistaken. So, there would be a lot of hand-navigation to make each entry. Perhaps Im misunderstanding something, but I am seeking the ease of use of the notes prompt, but with each new entry being not a separate note, but a row in that table. Thoughts?
>
> — Michael
>
>
>
> > At Mon, 5 Jul 2010 00:46:38 -0700,
> > Michael Gilbert <mcg@gilbert.org> wrote:
> >>
> >> performed.
> >>
> >> In general, I am trying to break my ties to a number of simpler
> >> data-logging tools (web apps, text files) and just centralize this into
> >> Org-Mode where it belongs.
> >>
> >> Any advice?
>
>
next prev parent reply other threads:[~2010-07-05 21:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-05 7:46 tabular logging of values in habits and other repeating tasks Michael Gilbert
2010-07-05 9:01 ` Darlan Cavalcante Moreira
2010-07-05 18:31 ` Michael Gilbert
2010-07-05 21:06 ` Darlan Cavalcante Moreira [this message]
[not found] ` <20100705210755.5F720E7ED4E8@peach.gilbert.org>
2010-07-06 1:18 ` Michael Gilbert
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=E1OVstO-0005HP-E2@eggs.gnu.org \
--to=darcamo@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mcg@gilbert.org \
/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).