emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Memnon Anon <gegendosenfleisch@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Habits not showing in agenda and no progress graph
Date: Wed, 27 Jul 2011 14:26:43 +0000 (UTC)	[thread overview]
Message-ID: <87y5zjhmd7.fsf@mean.albasani.net> (raw)
In-Reply-To: CA+M2ft85o2DW9O2pcTUxY-L=8GtaSmMrJsAtA4mmOzAS7udOKw@mail.gmail.com

John Hendy <jw.hendy@gmail.com> writes:

> 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"?

Yes.

>>  #+begin_src org
>>    ,* TODO note down month's accomplishments/contributions
>>    ,  SCHEDULED: <2011-07-25 Mon .+5d/10d>
>>    ,  :LOGBOOK:
>>    ,  - State "DONE"       from "TODO"       [2011-07-20 Wed 12:00]
>>    ,  - State "DONE"       from "TODO"       [2011-07-15 Fri 12:00]
>>    ,  :END:
>>    ,  :PROPERTIES:
>>    ,  :STYLE:    habit
>>    ,  :LAST_REPEAT: [2011-07-20 Wed 12:00]
>>    ,  :END:
>>  #+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)?

The colored graph in your agenda view.
A setting of 
 org-habit-following-days 7
 org-habit-preceding-days 21
 org-habit-show-habits-only-for-today t
will show that graph, representing the past 3 weeks and the next week
ahead in your *daily* Agenda for today.
If you have a task like "Water plants" that should be done
.+2d/4d, you will see how well you have been keeping up with it:
"*" marks DONE, "!" marks today.
The background color reminds you of the "range" you set up:
Green is great, yellow is okay, red is ... bad ;).

> 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:

Yes, better to keep the headlines short for habits or the graph will cut
it off.

> 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?

See above.

> 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.

From what I read, I don't think org-habit is the tool you want.
I found they work best for fairly regular tasks; I use them for cleaning
tasks like "Do vacuum cleaning .+3d/5d".

> 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.

If you are ahead, on schedule, late for this *current* habit now (!)
and for the past e.g. three weeks (asterisk).

Memnon

  parent reply	other threads:[~2011-07-27 14:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-26 21:22 Habits not showing in agenda and no progress graph John Hendy
2011-07-27  5:32 ` Michael Brand
2011-07-27  6:16   ` John Hendy
2011-07-27  7:23     ` Michael Brand
2011-07-27 14:26     ` Memnon Anon [this message]
2011-07-28  4:18       ` John Hendy

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=87y5zjhmd7.fsf@mean.albasani.net \
    --to=gegendosenfleisch@googlemail.com \
    --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).