emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* List all habits with consistency graph
@ 2012-03-20 20:21 Henning Weiss
  2012-03-20 21:03 ` Nick Bell
  2012-03-21  9:49 ` Bastien
  0 siblings, 2 replies; 7+ messages in thread
From: Henning Weiss @ 2012-03-20 20:21 UTC (permalink / raw)
  To: emacs-orgmode

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

Hi,

I was wondering how to create a list that contains all habits including
their consistency graph. At the end of the week I want an overview over all
of my habit entries and how consistent I have been. Consistency graphs are
a nice for that purpose, but they are scattered all over my weekly (or
monthly!) agenda. This makes it rather hard to get a concise overview.

It would be nice if orgmode could somehow show all habits in a list with
the corresponding consistency graph next to it. It's straight forward to
create a property search that finds and displays all habits, but org-mode
has so far resisted my attempts at inserting consistency graphs into those
search views.

How could this be accomplished?

best regards,
Henning Weiss

[-- Attachment #2: Type: text/html, Size: 859 bytes --]

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

* Re: List all habits with consistency graph
  2012-03-20 20:21 List all habits with consistency graph Henning Weiss
@ 2012-03-20 21:03 ` Nick Bell
  2012-03-21  9:49 ` Bastien
  1 sibling, 0 replies; 7+ messages in thread
From: Nick Bell @ 2012-03-20 21:03 UTC (permalink / raw)
  To: emacs-orgmode

On 20/03/12 20:21, Henning Weiss wrote:
> Hi,
>
> I was wondering how to create a list that contains all habits 
> including their consistency graph. At the end of the week I want an 
> overview over all of my habit entries and how consistent I have been. 
> Consistency graphs are a nice for that purpose, but they are scattered 
> all over my weekly (or monthly!) agenda. This makes it rather hard to 
> get a concise overview.
>
> It would be nice if orgmode could somehow show all habits in a list 
> with the corresponding consistency graph next to it. It's straight 
> forward to create a property search that finds and displays all 
> habits, but org-mode has so far resisted my attempts at inserting 
> consistency graphs into those search views.

This would be very helpful for me too.

Nick

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

* Re: List all habits with consistency graph
  2012-03-20 20:21 List all habits with consistency graph Henning Weiss
  2012-03-20 21:03 ` Nick Bell
@ 2012-03-21  9:49 ` Bastien
  2012-03-21 11:08   ` Henning Weiss
  1 sibling, 1 reply; 7+ messages in thread
From: Bastien @ 2012-03-21  9:49 UTC (permalink / raw)
  To: Henning Weiss; +Cc: emacs-orgmode

Hi Henning,

Henning Weiss <hdweiss@gmail.com> writes:

> I was wondering how to create a list that contains all habits
> including their consistency graph. 

You should be able to do this with an agenda, skipping 
entries that are not habits.  (See `org-agenda-skip-function'
on how to use your own function for skipping entries.)

HTH,

-- 
 Bastien

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

* Re: List all habits with consistency graph
  2012-03-21  9:49 ` Bastien
@ 2012-03-21 11:08   ` Henning Weiss
  2012-05-28 19:07     ` Max Mikhanosha
  0 siblings, 1 reply; 7+ messages in thread
From: Henning Weiss @ 2012-03-21 11:08 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

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

Hi Bastien,

I tried using a skip function to create an agenda that only contains habits
following this post<http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg00944.html>.
To display habits that are not scheduled for today, I enabled
"org-habit-show-habits-only-for-today". This made it possible for me to
view all other habits by navigating through the agenda.

The problem with this approach is that some of my habits have various
intervals, ie. daily, bi-weekly, bi-monthly and monthly. This makes it
quite cumbersome to track down all of the habits in the agenda. Also, there
is a lot of "noise" because of the agenda day separators and the
"duplication" of habits (ie. daily habits are displayed every day).

How can I get a "cleaner" view of the habit list for entries that are
scheduled at some point in the future? Maybe if it would somehow be
possible to create an agenda that "collapses" multiple days into one, I
could filter it by habit to give me a habit list. I could see myself using
this collapsed agenda for other things as well.

Henning

On Wed, Mar 21, 2012 at 10:49 AM, Bastien <bzg@gnu.org> wrote:

> Hi Henning,
>
> Henning Weiss <hdweiss@gmail.com> writes:
>
> > I was wondering how to create a list that contains all habits
> > including their consistency graph.
>
> You should be able to do this with an agenda, skipping
> entries that are not habits.  (See `org-agenda-skip-function'
> on how to use your own function for skipping entries.)
>
> HTH,
>
> --
>  Bastien
>

[-- Attachment #2: Type: text/html, Size: 2110 bytes --]

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

* Re: List all habits with consistency graph
  2012-03-21 11:08   ` Henning Weiss
@ 2012-05-28 19:07     ` Max Mikhanosha
  2012-05-28 22:55       ` John Wiegley
  2012-05-29  3:03       ` Matt Lundin
  0 siblings, 2 replies; 7+ messages in thread
From: Max Mikhanosha @ 2012-05-28 19:07 UTC (permalink / raw)
  To: Henning Weiss; +Cc: Bastien, emacs-orgmode

Hi Henning,

At Wed, 21 Mar 2012 12:08:17 +0100,
Henning Weiss wrote:
> 
> I tried using a skip function to create an agenda that only contains
> habits following this post. To display habits that are not scheduled
> for today, I enabled "org-habit-show-habits-only-for-today". This
> made it possible for me to view all other habits by navigating
> through the agenda.
> 
> The problem with this approach is that some of my habits have
> various intervals, ie. daily, bi-weekly, bi-monthly and
> monthly. This makes it quite cumbersome to track down all of the
> habits in the agenda. Also, there is a lot of "noise" because of the
> agenda day separators and the "duplication" of habits (ie. daily
> habits are displayed every day).
> 
> How can I get a "cleaner" view of the habit list for entries that
> are scheduled at some point in the future? Maybe if it would somehow
> be possible to create an agenda that "collapses" multiple days into
> one, I could filter it by habit to give me a habit list. I could see
> myself using this collapsed agenda for other things as well.

I implemented the above functionality, and pushed it to master. There
is new customization variable `org-habit-show-all-today' which when
set to t, will show all habits (even if they are scheduled for the
future) on today's agenda.

In fact I kind of like it, so wondering maybe it should be made `t' by
default?

Regards,
  Max

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

* Re: List all habits with consistency graph
  2012-05-28 19:07     ` Max Mikhanosha
@ 2012-05-28 22:55       ` John Wiegley
  2012-05-29  3:03       ` Matt Lundin
  1 sibling, 0 replies; 7+ messages in thread
From: John Wiegley @ 2012-05-28 22:55 UTC (permalink / raw)
  To: emacs-orgmode

>>>>> Max Mikhanosha <max@openchat.com> writes:

> In fact I kind of like it, so wondering maybe it should be made `t' by
> default?

Please no.  I do not want to be overwhelmed by seeing all of my habits every
day, since that defeats the whole purpose of Org-mode for me: reducing
overwhelm.

Thanks, John

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

* Re: List all habits with consistency graph
  2012-05-28 19:07     ` Max Mikhanosha
  2012-05-28 22:55       ` John Wiegley
@ 2012-05-29  3:03       ` Matt Lundin
  1 sibling, 0 replies; 7+ messages in thread
From: Matt Lundin @ 2012-05-29  3:03 UTC (permalink / raw)
  To: Henning Weiss; +Cc: Bastien, emacs-orgmode

Max Mikhanosha <max@openchat.com> writes:

> I implemented the above functionality, and pushed it to master. There
> is new customization variable `org-habit-show-all-today' which when
> set to t, will show all habits (even if they are scheduled for the
> future) on today's agenda.
>

This will come in handy for custom agenda commands. (I had been relying
on a weekly view to see most habits.)

> In fact I kind of like it, so wondering maybe it should be made `t' by
> default?

Please keep the default nil. For new users, it might be confusing to
have tasks scheduled for a different day show up on today's date.

Question about the docstring for org-habit-show-all-today: it says "even
if they are not scheduled." (I assume that means "not scheduled today,"
since entirely unscheduled habits do not work.)

Best,
Matt

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

end of thread, other threads:[~2012-05-29  3:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-20 20:21 List all habits with consistency graph Henning Weiss
2012-03-20 21:03 ` Nick Bell
2012-03-21  9:49 ` Bastien
2012-03-21 11:08   ` Henning Weiss
2012-05-28 19:07     ` Max Mikhanosha
2012-05-28 22:55       ` John Wiegley
2012-05-29  3:03       ` Matt Lundin

Code repositories for project(s) associated with this 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).