[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Habit tracking and table data
From: |
Bernt Hansen |
Subject: |
Re: [O] Habit tracking and table data |
Date: |
Wed, 02 May 2012 17:52:43 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Steinar Bang <address@hidden> writes:
>>>>>> Bernt Hansen <address@hidden>:
>
>> For these types of things I just stick a table in the habit org-mode
>> entry and edit it directly, then mark it done without capturing a note.
>
> Umm... could you provide an example...?
The habit entry is just like any other task... so it can contain
whatever you need. I just stick a table in the entry and edit it
directly:
--8<---------------cut here---------------start------------->8---
** TODO Some habit I want to track
SCHEDULED: <2012-04-30 Mon .+1d>
:LOGBOOK:...
:PROPERTIES:
:STYLE: habit
:LAST_REPEAT: [2012-04-29 Sun 18:20]
:END:
[2012-03-19 Mon 07:30]
and some table data I want to keep
| | Date | Datum | Change |
|---+------------------+-------+--------|
| # | [2012-04-14 Sat] | 98 | 0.0 |
| # | [2012-04-16 Mon] | 103 | 5.0 |
| # | [2012-04-17 Tue] | 105 | 2.0 |
| # | [2012-04-19 Thu] | 101 | -4.0 |
| # | [2012-04-20 Fri] | 89 | -12.0 |
| # | [2012-04-29 Sun] | 94 | 5.0 |
|---+------------------+-------+--------|
| | | | -4.0 |
| ^ | | | total |
#+TBLFM: address@hidden;%.1f::@2$4=0;%.1f::$total=vsum(@address@hidden);%.1f
--8<---------------cut here---------------end--------------->8---
When this particular task in on my agenda I hit RET on it to visit it,
update the table, and then mark it DONE.
By default marking it done creates a log entry with just the timestamp
(no log note).
HTH,
Bernt