all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Reports on habits?
@ 2014-03-15 23:19 Marcin Borkowski
  2014-03-17  1:25 ` Bastien
  2014-03-18 12:38 ` OSiUX
  0 siblings, 2 replies; 3+ messages in thread
From: Marcin Borkowski @ 2014-03-15 23:19 UTC (permalink / raw)
  To: Org-mode mailing list

Hi list,

We all know that org-habit is great, but the only case when I actually
see the consistency graph is in the agenda, when I did *not* do my habit
today.  Is there a way to display the consistency graph on demand, e.g.
in the echo area?  (Also, a dynamic table with a summary of my
consistency for the last week/month/year, with a few stats, would be
great for gamification-prone geeks like me...)

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University

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

* Re: Reports on habits?
  2014-03-15 23:19 Reports on habits? Marcin Borkowski
@ 2014-03-17  1:25 ` Bastien
  2014-03-18 12:38 ` OSiUX
  1 sibling, 0 replies; 3+ messages in thread
From: Bastien @ 2014-03-17  1:25 UTC (permalink / raw)
  To: Marcin Borkowski; +Cc: Org-mode mailing list

Hi Marcin,

Marcin Borkowski <mbork@wmi.amu.edu.pl> writes:

> We all know that org-habit is great, but the only case when I actually
> see the consistency graph is in the agenda, when I did *not* do my habit
> today.  Is there a way to display the consistency graph on demand, e.g.
> in the echo area?  (Also, a dynamic table with a summary of my
> consistency for the last week/month/year, with a few stats, would be
> great for gamification-prone geeks like me...)

there is no such way right now, adding this to my "To explore"
list for future features.

Best,

-- 
 Bastien

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

* Re: Reports on habits?
  2014-03-15 23:19 Reports on habits? Marcin Borkowski
  2014-03-17  1:25 ` Bastien
@ 2014-03-18 12:38 ` OSiUX
  1 sibling, 0 replies; 3+ messages in thread
From: OSiUX @ 2014-03-18 12:38 UTC (permalink / raw)
  To: emacs-orgmode

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

El dom, 16 mar 2014, Marcin Borkowski decía:

> Hi list,
>
> We all know that org-habit is great, but the only case when I actually
> see the consistency graph is in the agenda, when I did *not* do my habit
> today.  Is there a way to display the consistency graph on demand, e.g.
> in the echo area?  (Also, a dynamic table with a summary of my
> consistency for the last week/month/year, with a few stats, would be
> great for gamification-prone geeks like me...)
>
> Best,

Could be adapted org-timeline to display a graph
according to the habits.

Currently indicating a file name and a date
displays:

  #+BEGIN_SRC sh :session :results output :exports both
    org-clock 2014-02 almuerzo.org
  #+END_SRC

  #+RESULTS:
  #+begin_example
  13:50 14:28 2014-02-04
  14:37 15:17 2014-02-06
  14:14 15:20 2014-02-07
  13:50 14:38 2014-02-10
  13:55 14:48 2014-02-13
  13:42 14:42 2014-02-14
  11:50 14:50 2014-02-17
  13:40 15:04 2014-02-18
  13:37 13:48 2014-02-20
  14:02 15:00 2014-02-20
  14:00 14:49 2014-02-24
  14:00 15:00 2014-02-25
  13:09 13:40 2014-02-28
  #+end_example

Adding =org-timeline= display the following graph:

  #+BEGIN_SRC sh :session :results output :exports both
    org-clock 2014-02 almuerzo.org | org-timeline
  #+END_SRC

  #+RESULTS:
  #+begin_example
    11:    12:    13:    14:    15:    16:
      ┊      ┊      ┊      ┊      ┊      ┊
      ┊□□□□▣▣┊□□□□□□┊□□□□□□┊□□□□□□┊□□□□□□┊ 2014-02-17 =====>  180
      ┊□□□□□□┊□□□□□□┊□□□▣▣▣┊□□□□□□┊□□□□□□┊ 2014-02-18 =====>   84
      ┊□□□□□□┊□□□□□□┊□▣▣▣□□┊□□□□□□┊□□□□□□┊ 2014-02-28 =====>   31
      ┊□□□□□□┊□□□□□□┊□□□□▣▣┊□□□□□□┊□□□□□□┊ 2014-02-10 =====>   48
      ┊□□□□□□┊□□□□□□┊□□□▣▣□┊▣▣▣▣▣▣┊□□□□□□┊ 2014-02-20 =====>   69
      ┊□□□□□□┊□□□□□□┊□□□□□▨┊□□□□□□┊□□□□□□┊ 2014-02-13 =====>   53
      ┊□□□□□□┊□□□□□□┊□□□□▣▣┊□□□□□□┊□□□□□□┊ 2014-02-04 =====>   38
      ┊□□□□□□┊□□□□□□┊□□□▣▣▣┊□□□□□□┊□□□□□□┊ 2014-02-14 =====>   60
      ┊□□□□□□┊□□□□□□┊□□□□□□┊▣▣▣▣▣□┊□□□□□□┊ 2014-02-24 =====>   49
      ┊□□□□□□┊□□□□□□┊□□□□□□┊□□□▣▣▣┊□□□□□□┊ 2014-02-06 =====>   40
      ┊□□□□□□┊□□□□□□┊□□□□□□┊▣▣▣▣▣▣┊□□□□□□┊ 2014-02-25 =====>   60
      ┊□□□□□□┊□□□□□□┊□□□□□□┊□▨▣▣▣▣┊□□□□□□┊ 2014-02-07 =====>   66
      ┊      ┊      ┊      ┊      ┊      ┊      TOTAL =====>  778
  #+end_example

I need to improve the scripts to make them more
friendly, but maybe you can try.

Maybe a =org-habits= should show:

  #+begin_example
    | 01| 02| 03| 04| 05| 06| 07| 08| 09| 10| 11| 12| 13| 14| 15| 16| 17| 18| 19| 20| 21| 22| 23| 24| 25| 26| 27| 28|
    |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
    | □ | □ | □ | ▣ | □ | ▣ | ▣ | □ | □ | ▣ | □ | □ | ▣ | ▣ | □ | □ | ▣ | ▣ | □ | □ | □ | □ | □ | ▣ | ▣ | □ | □ | ▣ | almuerzo
    |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
    |   |   |   | 38|   | 40| 66|   |   | 48|   |   | 53| 60|   |   |180| 84|   |   |   |   |   | 49| 60|   |   | 31|
  #+end_example

I like the ASCII/UTF8 Art :-P

http://github.com/osiris/org-bash-utils

::

  Osiris Alejandro Gomez (OSiUX) osiux@osiux.com.ar
  DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C
  http://www.osiux.com.ar http://www.altermundi.net

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

end of thread, other threads:[~2014-03-18 12:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-15 23:19 Reports on habits? Marcin Borkowski
2014-03-17  1:25 ` Bastien
2014-03-18 12:38 ` OSiUX

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.