emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tyler Smith <tyler@plantarum.ca>
To: emacs-orgmode@gnu.org
Subject: habits not working
Date: Mon, 04 Jan 2016 09:49:04 -0500	[thread overview]
Message-ID: <1451918944.1413749.482360586.436B2A17@webmail.messagingengine.com> (raw)

Hi,

Habits don't seem to be working for me anymore, and I'm not sure why.

Steps to reproduce:

emacs -Q

load org mode with minimal config for habits:

;; test-org.el
(require 'package)
(setq package-load-list
      '((org-plus-contrib t)))
(package-initialize)

(setq org-agenda-files '("~/scratch/orghabits.org"))

(setq org-modules '(org-habit))

With one habit defined in ~/scratch/orghabits.org:

* Habits
** TODO Exercise
   SCHEDULED: <2016-01-04 Mon .+1d>
   :LOGBOOK:  
   - State "DONE"       from "TODO"       [2016-01-03 Sun 22:32]
   - State "DONE"       from "TODO"       [2016-01-02 Sat 17:07]
   - State "DONE"       from "TODO"       [2016-01-01 Fri 23:03]
   - State "DONE"       from "TODO"       [2015-12-31 Thu 16:24]
   - State "DONE"       from "TODO"       [2015-12-30 Wed 20:53]
   :END:      
   :PROPERTIES:
   :STYLE: habit
   :LAST_REPEAT: [2016-01-03 Sun 22:32]
   :END:      

My agenda looks like:

Week-agenda (W01):
Monday      4 January 2016 W01
  orghabits:  Scheduled:  TODO Exercise
Tuesday     5 January 2016
  orghabits:  Scheduled:  TODO Exercise
Wednesday   6 January 2016
  orghabits:  Scheduled:  TODO Exercise
Thursday    7 January 2016
  orghabits:  Scheduled:  TODO Exercise
Friday      8 January 2016
  orghabits:  Scheduled:  TODO Exercise
Saturday    9 January 2016
  orghabits:  Scheduled:  TODO Exercise
Sunday     10 January 2016
  orghabits:  Scheduled:  TODO Exercise

When I looked at this yesterday only the next habit was listed, and was
displayed along with its consistency graph, which is what I expect to
happen.

"Habit" is listed in the modeline, and pressing 'K' brings up a message
that habits have been turned off, but no other change. Pressing 'K'
repeatedly turns habits on and off, but the agenda itself doesn't
change. 

How did I break this?

Emacs version:
GNU Emacs 25.0.50.2 (x86_64-pc-linux-gnu, GTK+ Version 3.18.5) of
2015-12-24

Org mode version:
Org-mode version 8.3.2 (8.3.2-59-g3d4c46-elpaplus @
/home/tws/.emacs.d/elpa/org-plus-contrib-20160104/)

Best,

Tyler
-- 
plantarum.ca

             reply	other threads:[~2016-01-04 14:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-04 14:49 Tyler Smith [this message]
2016-01-04 14:59 ` habits not working Dave Marquardt
2016-01-04 16:04   ` Tyler Smith

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=1451918944.1413749.482360586.436B2A17@webmail.messagingengine.com \
    --to=tyler@plantarum.ca \
    --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).