emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Josiah Schwab <jschwab@gmail.com>
To: Javier Ortiz <orcaja@hotmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: org-mode habits graph dissapears
Date: Thu, 19 Dec 2013 13:14:48 -0800	[thread overview]
Message-ID: <87d2ksilvb.fsf@gmail.com> (raw)
In-Reply-To: <BAY172-W371D310B58B95E59E6BC29DBDA0@phx.gbl>

[-- Attachment #1: Type: text/plain, Size: 1532 bytes --]


Javier Ortiz writes:

> Thank you for your response!

Please CC the org-mode list in your responses.  Others can join the
conversation and the results will be archived for use by future users.

> I added
>  (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)

Here I was just quoting from org-habit.el.  This is not something you
would add you your .emacs.

> To my .emacs file, restarted emacs, then =C-a a=, but I don't see the
> consistency graph again.  Should I try something else?

I'm still not exactly sure what behavior you want, but it seems like
you want to customize one or the other of

,----
| (defcustom org-habit-show-habits-only-for-today t
|   "If non-nil, only show habits on today's agenda, and not for future days.
| Note that even when shown for future days, the graph is always
| relative to the current effective date."
|   :group 'org-habit
|   :type 'boolean)
`----

,----
| (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)
`----

For example, suppose that I want habits shown today and at their future
scheduled date.  Then with the attached minimal startup file (adjust
paths as necessary and start emacs with "emacs -Q -l minimal-org.el")
and orgmode 8.2.4, I see consistency graphs as one expects.

Josiah

[-- Attachment #2: minimal-org.el --]
[-- Type: application/emacs-lisp, Size: 674 bytes --]

      parent reply	other threads:[~2013-12-19 21:15 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
     [not found]       ` <BAY172-W371D310B58B95E59E6BC29DBDA0@phx.gbl>
2013-12-19 21:14         ` Josiah Schwab [this message]

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=87d2ksilvb.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).