emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-habit: "++" render wrong color
@ 2016-01-29 13:25 Yasushi SHOJI
  2016-01-30 23:13 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Yasushi SHOJI @ 2016-01-29 13:25 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

Since 5d19c2c6891acd55dae36fccc07defe359a7283e, the habit consistency
graph renders intervals in wrong color if you use `++'.

http://ibin.co/2V80yaYqOT1O

The above graph in the pic is from 5d19c2c68~1, the below is the tip
of master.  Note that red region from the left most `*' to `!' at the
bad line.

Here is an ECM:

#+BEGIN_SRC lisp
  (add-to-list 'load-path "~/src/org-mode/lisp")
  (require 'org)
  (add-to-list 'org-modules 'org-habit)
  (setq org-agenda-files '("/tmp/a.org"))
  (org-agenda-list)
#+END_SRC

#+BEGIN_SRC org
* TODO bad
  SCHEDULED: <2016-01-27 Wed ++1w>
  :PROPERTIES:
  :STYLE:    habit
  :END:
  - State "DONE"       from "TODO"       [2016-01-20 Wed 14:50]
  - State "DONE"       from "TODO"       [2016-01-13 Wed 14:50]

* TODO good
  SCHEDULED: <2016-01-27 Wed .+1w>
  :PROPERTIES:
  :STYLE:    habit
  :END:
  - State "DONE"       from "TODO"       [2016-01-20 Wed 14:50]
  - State "DONE"       from "TODO"       [2016-01-13 Wed 14:50]
#+END_SRC
-- 
            yashi

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: org-habit: "++" render wrong color
  2016-01-29 13:25 org-habit: "++" render wrong color Yasushi SHOJI
@ 2016-01-30 23:13 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2016-01-30 23:13 UTC (permalink / raw)
  To: Yasushi SHOJI; +Cc: emacs-orgmode

Hello,

Yasushi SHOJI <yashi@atmark-techno.com> writes:

> Since 5d19c2c6891acd55dae36fccc07defe359a7283e, the habit consistency
> graph renders intervals in wrong color if you use `++'.
>
> http://ibin.co/2V80yaYqOT1O
>
> The above graph in the pic is from 5d19c2c68~1, the below is the tip
> of master.  Note that red region from the left most `*' to `!' at the
> bad line.

Fixed. Thank you.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-30 23:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-29 13:25 org-habit: "++" render wrong color Yasushi SHOJI
2016-01-30 23:13 ` Nicolas Goaziou

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