From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Habits not showing in agenda and no progress graph Date: Wed, 27 Jul 2011 01:16:39 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:40211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlxQB-0006QI-HV for emacs-orgmode@gnu.org; Wed, 27 Jul 2011 02:16:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QlxQ9-0006I0-IN for emacs-orgmode@gnu.org; Wed, 27 Jul 2011 02:16:43 -0400 Received: from mail-ey0-f174.google.com ([209.85.215.174]:45819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlxQ9-0006Ha-5A for emacs-orgmode@gnu.org; Wed, 27 Jul 2011 02:16:41 -0400 Received: by eyx24 with SMTP id 24so2434355eyx.19 for ; Tue, 26 Jul 2011 23:16:40 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Michael Brand Cc: emacs-orgmode On Wed, Jul 27, 2011 at 12:32 AM, Michael Brand wrote: > Hi John > > - State logging is working ok as seen from the LOGBOOK. Good to know. > - A habit task is simply not shown before the SCHEDULED date. Try this > =C2=A0task state to get an impression of the graph (change TODO and DONE > =C2=A0keywords to reflect your setup): Ah. That might have done it. I was playing around a bit tonight and noticed that if I changed the scheduled date, I got a little multi-colored bar looking thing in agenda week view. Is that the "graph"? > =C2=A0#+begin_src org > =C2=A0 =C2=A0,* TODO note down month's accomplishments/contributions > =C2=A0 =C2=A0, =C2=A0SCHEDULED: <2011-07-25 Mon .+5d/10d> > =C2=A0 =C2=A0, =C2=A0:LOGBOOK: > =C2=A0 =C2=A0, =C2=A0- State "DONE" =C2=A0 =C2=A0 =C2=A0 from "TODO" =C2= =A0 =C2=A0 =C2=A0 [2011-07-20 Wed 12:00] > =C2=A0 =C2=A0, =C2=A0- State "DONE" =C2=A0 =C2=A0 =C2=A0 from "TODO" =C2= =A0 =C2=A0 =C2=A0 [2011-07-15 Fri 12:00] > =C2=A0 =C2=A0, =C2=A0:END: > =C2=A0 =C2=A0, =C2=A0:PROPERTIES: > =C2=A0 =C2=A0, =C2=A0:STYLE: =C2=A0 =C2=A0habit > =C2=A0 =C2=A0, =C2=A0:LAST_REPEAT: [2011-07-20 Wed 12:00] > =C2=A0 =C2=A0, =C2=A0:END: > =C2=A0#+end_src So... is the "graph" the above? Simply a documented history of habits? Or is it something else (perhaps the colored thing in agenda view)? > - Side note: It seems that like when experimenting you have set the > =C2=A0task twice to DONE at the same time which is not useful but does no= t > =C2=A0hurt to get started with habits. Yeah -- it was an accident. I was just verifying that cycling to "done" didn't really close the task but, indeed, added another state change note and updated LAST_REPEAT. In real use, I wouldn't do this more than per the scheduled habit timeline. Lastly, if that graph *is* the colored bar in agenda, I notice that it's cutting off most of my text. For example, this updated bit: ,----- | ** todo note down month's accomplishments/contributions | SCHEDULED: <2011-07-22 Fri .+25d/35d> `----- Produces this in agenda: ,----- | Wednesday 27 July 2011 | eval: todo note down month's acc ! :eval:: | Thursday 28 July 2011 `----- The space between "acc" and the "!" is filled with blue, then green, then a yellow, and then a red square(s). Can one change this appearance and how early the graph starts? If that's the "graph," then I guess I just didn't understand how the display in agenda worked and was mistaken in expecting future events to show up as I scrolled through the year's view. I think that's fine. Just wanted to make sure I wasn't messing something up. The manual still gives the impression that the "graph" will show the history of my habits, whereas this thing in agenda is only showing whether I'm ahead, on schedule, or late for this *current* habit. Thanks for any input, John > > On Tue, Jul 26, 2011 at 23:22, John Hendy wrote: >> I'm attempting to implement habits for a couple of routine things I >> should do at work on a regular basis. I've been following the manual >> to set this up: >> >> ,----- >> | 1. You have enabled the habits module by customizing the variable >> org-modules. CHECK >> | 2. The habit is a TODO item, with a TODO keyword representing an >> open state. CHECK >> | 3. The property STYLE is set to the value habit. CHECK >> | 4. The TODO has a scheduled date, usually with a .+ style repeat >> interval... CHECK >> | 5. The TODO may also have minimum and maximum ranges specified by >> using the syntax =E2=80=98.+2d/3d=E2=80=99... CHECK >> | 6. You must also have state logging for the DONE state enabled... THIN= K SO >> `----- >> >> I have mid-year and yearly reviews and *always* kick myself for not >> recording things I've done regularly, such that I end up scouring the >> earth for details about what I did in emails, calendar items, and org >> files. I'd like to do this monthly to save me 2x/year headaches. So... >> enter my first attempt at implementing habits: >> >> ----- >> ** todo note down month's accomplishments/contributions >> =C2=A0 =C2=A0SCHEDULED: <2011-08-20 Sat .+25d/35d> >> =C2=A0 :LOGBOOK: >> =C2=A0 - State "done" =C2=A0 =C2=A0 =C2=A0 from "todo" =C2=A0 =C2=A0 =C2= =A0 [2011-07-26 Tue 16:02] >> =C2=A0 - State "done" =C2=A0 =C2=A0 =C2=A0 from "todo" =C2=A0 =C2=A0 =C2= =A0 [2011-07-26 Tue 16:02] >> =C2=A0 :END: >> =C2=A0 :PROPERTIES: >> =C2=A0 :STYLE: =C2=A0 =C2=A0habit >> =C2=A0 :LAST_REPEAT: [2011-07-26 Tue 16:02] >> =C2=A0 :END: >> ----- >> >> Note that above for #6, I said I thought so. I'm saying that as the >> todo -> done state appears to be tracked above in my cycling. >> Typically, I just get a completed inactive time stamp and it gets >> marked done. The fact that it stays open I'm guessing means the habit >> is working. >> >> But... I have a couple of questions: >> >> #1: the habits aren't showing up in agenda. I did =3DC-c a a=3D, then = =3Dv >> y=3D and accepted that I really wanted to see the year. I get no monthly >> views of the above habit, despite seeing the minibuffer mode as >> "Org-agenda Year Dds Grid Habit" If I press =3DK=3D, it tells me that >> habits have been turned off, so I know they were on. >> >> #2: I just don't understand this at all (from the manual): >> >> ,----- >> | What's really useful about habits is that they are displayed along >> with a consistency graph, >> | to show how consistent you've been at getting that task done in the >> past. This graph shows >> | every day that the task was done over the past three weeks, with >> colors for each day. >> | >> | Followed by overview of what the colors mean... >> `----- >> >> Where is this graph? I don't see any colors. The worg tutorial doesn't >> mention the word graph anywhere, and only shows making a table >> manually to document progress. It also doesn't mention the word color. >> >> Thanks for any suggestions. It's my first time, so it's probably that >> I've missed something silly in my setup or have a typo. >> >> >> Thanks! >> John >