emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-habit: completed-glyph not shown in graph-column
@ 2015-08-11  7:56 Mario Martelli
  2015-08-11 12:55 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Mario Martelli @ 2015-08-11  7:56 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

I’m just setting up org-mode. So I do not know whether this has worked in the past or not.

If I complete a habit I get this:

** TODO Shave
   SCHEDULED: <2015-08-11 Tue .+1d/2d>
   :PROPERTIES:
   :STYLE:    habit
   :END:
   - State "TODO"       from "DONE"       [2015-08-10 Mon 18:27]
   - State "TODO"       from "DONE"       [2015-08-05 Wed 22:36]
   - State "TODO"       from "DONE"       [2015-08-02 Sun 08:04]
   - State "TODO"       from "DONE"       [2015-08-01 Sat 08:03]
 

From what I found in the documentation it should be:

** TODO Shave
        SCHEDULED: <2009-10-17 Sat .+2d/4d>
        :PROPERTIES:
        :STYLE:    habit
        :LAST_REPEAT: [2009-10-19 Mon 00:36]
        :END:
        - State "DONE"       from "TODO"       [2009-10-15 Thu]
        - State "DONE"       from "TODO"       [2009-10-12 Mon]
        - State "DONE"       from "TODO"       [2009-10-10 Sat]
        - State "DONE"       from "TODO"       [2009-10-04 Sun]

Despite of missing the LAST_REPEAT property I verified that the inversion of TODO and DONE is the reason that the completed-glyph is not shown in the graph-column.


The configuration of my habit file is:

* Habits
  :PROPERTIES:
  :LOGGING:  TODO(!) WAIT(!) DONE(!) CANCELED(!)
  :END:

Don’t know if this is a bug or a misconfiguration. 


Org-mode version 8.3.1 (8.3.1-16-gf6aa53-elpaplus

Kind regards
Mario
— 

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

* Re: org-habit: completed-glyph not shown in graph-column
  2015-08-11  7:56 org-habit: completed-glyph not shown in graph-column Mario Martelli
@ 2015-08-11 12:55 ` Nicolas Goaziou
  2015-08-11 16:28   ` Mario Martelli
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2015-08-11 12:55 UTC (permalink / raw)
  To: Mario Martelli; +Cc: emacs-orgmode

Hello,

Mario Martelli <tlmtr@schnuddelhuddel.de> writes:

> The configuration of my habit file is:
>
> * Habits
>   :PROPERTIES:
>   :LOGGING:  TODO(!) WAIT(!) DONE(!) CANCELED(!)
>   :END:

Shouldn't it be 

  :LOGGING:  TODO(!) WAIT(!) | DONE(!) CANCELED(!)

Otherwise, DONE is not considered as a final keyword. Only CANCELED is.

Regards,

-- 
Nicolas Goaziou

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

* Re: org-habit: completed-glyph not shown in graph-column
  2015-08-11 12:55 ` Nicolas Goaziou
@ 2015-08-11 16:28   ` Mario Martelli
  0 siblings, 0 replies; 3+ messages in thread
From: Mario Martelli @ 2015-08-11 16:28 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode

Hi Nicolas,


> Shouldn't it be 
> 
>  :LOGGING:  TODO(!) WAIT(!) | DONE(!) CANCELED(!)
> 
> Otherwise, DONE is not considered as a final keyword. Only CANCELED is.

thanks for the hint. I was not aware that ‘|’ is also necessary within LOGGING:

Nevertheless I’ve changed the logging property to:

  :LOGGING: DONE(!) 

as I do only need DONE within my habits file.

Now my agenda looks much nicer :-)

Thanks again
Mario

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

end of thread, other threads:[~2015-08-11 16:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-11  7:56 org-habit: completed-glyph not shown in graph-column Mario Martelli
2015-08-11 12:55 ` Nicolas Goaziou
2015-08-11 16:28   ` Mario Martelli

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