From: Bernt Hansen <bernt@norang.ca>
To: emacs-orgmode@gnu.org
Subject: Re: Habit tracking and table data
Date: Wed, 02 May 2012 17:52:43 -0400 [thread overview]
Message-ID: <87mx5q9ro4.fsf@norang.ca> (raw)
In-Reply-To: <87mx5q7dnj.fsf@dod.no> (Steinar Bang's message of "Wed, 02 May 2012 18:26:08 +0200")
Steinar Bang <sb@dod.no> writes:
>>>>>> Bernt Hansen <bernt@norang.ca>:
>
>> 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: $4=$3-@-1$3;%.1f::@2$4=0;%.1f::$total=vsum(@-I..@-II);%.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
next prev parent reply other threads:[~2012-05-02 21:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-30 13:08 Habit tracking and table data Steinar Bang
2012-05-01 0:11 ` Bastien
2012-05-01 6:46 ` Steinar Bang
2012-05-01 11:39 ` Bastien
2012-05-02 11:49 ` Bernt Hansen
2012-05-02 16:26 ` Steinar Bang
2012-05-02 21:52 ` Bernt Hansen [this message]
2012-05-03 8:24 ` Steinar Bang
2012-05-05 1:35 ` Bernt Hansen
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=87mx5q9ro4.fsf@norang.ca \
--to=bernt@norang.ca \
--cc=emacs-orgmode@gnu.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).