emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Josiah Schwab <jschwab@gmail.com>
To: Javier Ortiz <orcaja@hotmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: org-mode habits graph dissapears
Date: Tue, 17 Dec 2013 22:23:21 -0800	[thread overview]
Message-ID: <87d2kuk78m.fsf@gmail.com> (raw)
In-Reply-To: <BAY172-W41CBE502D0107C3CBA7D3EDBDB0@phx.gbl>

Hi Javier,

> Thank you for your response. Here it is what I do:

Thanks for the more detailed information.  This is helpful.  Please
continue to cc the org-mode list your responses.

> I open one of my agenda files, write the new habit, schedule it with
> C-s, then add a repeat interval, and then I do C-c C-x p, write
> =STYLE=, and then habit.  The result, is like this:
>
> * new habit
>   SCHEDULED: <2013-12-17 Tue .+2d/4d>
>  :PROPERTIES:
>  :STYLE:    habit
>  :END:
>
> I notice that I don't have the line: :LAST_REPEAT: then, I check my
> agenda, with C-a a, and I see the habit, with a color bar on the
> right, and the symbol "!".  = personal: new habit !  =
>
> Then I mark the new habit as "DONE",  C-c C-t DONE, now  I update the
> agenda view with "r".  The new habit is gone, and It won't appear,
> again, If I check the agenda file, it says:
>
> * DONE new habit
>  CLOSED: [2013-12-17 Tue 07:55]
> SCHEDULED: <2013-12-17 Tue .+2d/4d>
>  - State "DONE"       from "STARTED"    [2013-12-17 Tue 07:55]
>  :PROPERTIES:
>  :STYLE:
>    habit
>  :END:
>
> And It won't appear again, I noticed that it doesn't say:
> :LAST_REPEAT: Am I missing something?

If I follow your example, I observe the same behavior.  Though I dispute
that the habit won't appear again: I think it will, just in 2 days, when
it is time for you to do that habit again.  So as I understand it, you
are observing the expected behavior.

If this is not what you want, you may want to look at the ways to
customize org-habit, in particular

,----
| (defcustom org-habit-show-all-today nil
|   "If non-nil, will show the consistency graph of all habits on
| today's agenda, even if they are not scheduled."
|   :group 'org-habit
|   :type 'boolean)
`----

If I 
  (setq org-habit-show-all-today t)
then all habits are shown, even ones which I don't need to do today.  At
least to me, this sounds like the behavior you are seeking.

Hope that helps,
Josiah

  parent reply	other threads:[~2013-12-18  6:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-16 19:40 org-mode habits graph dissapears Javier Ortiz
2013-12-16 23:00 ` Josiah Schwab
     [not found]   ` <BAY172-W41CBE502D0107C3CBA7D3EDBDB0@phx.gbl>
2013-12-18  6:23     ` Josiah Schwab [this message]
     [not found]       ` <BAY172-W371D310B58B95E59E6BC29DBDA0@phx.gbl>
2013-12-19 21:14         ` Josiah Schwab

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=87d2kuk78m.fsf@gmail.com \
    --to=jschwab@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=orcaja@hotmail.com \
    /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).