From mboxrd@z Thu Jan 1 00:00:00 1970 From: Darlan Cavalcante Moreira Subject: Re: tabular logging of values in habits and other repeating tasks Date: Mon, 05 Jul 2010 23:06:48 +0200 Message-ID: References: <4c319f87.5b26e30a.1749.ffffd9cd@mx.google.com> <5F22792E-7BCB-4CEB-9119-FCD4A56DA320@gilbert.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=59345 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OVstQ-0006m5-Lj for emacs-orgmode@gnu.org; Mon, 05 Jul 2010 17:07:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OVstO-0005HP-E2 for emacs-orgmode@gnu.org; Mon, 05 Jul 2010 17:07:56 -0400 Received: from mail.rez-gif.supelec.fr ([160.228.154.1]:45342) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVstO-0005Gy-5p for emacs-orgmode@gnu.org; Mon, 05 Jul 2010 17:07:54 -0400 In-Reply-To: <5F22792E-7BCB-4CEB-9119-FCD4A56DA320@gilbert.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Michael Gilbert Cc: emacs-orgmode Mailinglist 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=C3=A1b] | 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", bu= t 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 usi= ng 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 wrote: >=20 > On Jul 5,2010, at 2:01 AM, Darlan Cavalcante Moreira wrote: >=20 > > 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 complet= e 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 wh= atever > > you want with the information. >=20 > Thank you, Darlan =E2=80=94 that is more or less what I thought. But he= re'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 kno= w is how to get the prompt to enter a new row. The notes function for tas= ks 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 seek= ing the ease of use of the notes prompt, but with each new entry being no= t a separate note, but a row in that table. Thoughts? >=20 > =E2=80=94 Michael >=20 >=20 >=20 > > At Mon, 5 Jul 2010 00:46:38 -0700, > > Michael Gilbert wrote: > >>=20 > >> performed. > >>=20 > >> 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 i= nto > >> Org-Mode where it belongs. > >>=20 > >> Any advice? >=20 >=20