emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Habits bug?


From: Matt Lundin
Subject: [Orgmode] Re: Habits bug?
Date: Thu, 11 Nov 2010 07:07:07 -0500
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Robert Horn <address@hidden> writes:

> I just noticed the following oddity.
>
> 1.) I have a custom agenda that consists of:
>
> (setq org-agenda-custom-commands
>       '(("h" "Agenda and This Week tasks"
>        ((agenda "")
>         (todo "THISWEEK")))))
>
> 2.) I have the default agenda period of 1 week at startup.
>
> The behavior I see is:
>
> a) When I do the C-c a h, I get the entire week, including the habits
> and habit bars at the end of the section for today (somewhere mid-week)
>
> b) If I type "d" to go into daily mode, the scheduled and extra todo's
> that are "THISWEEK" are shown.  But the habits and habit bars are not
> present.
>
> c) When I repeat C-c a h to regenerate, it stays in the daily mode (as
> it should) and the habits and habit bars re-appear.
>
> This is odd, and probably reflects a subtle bug somewhere in the
> regeneration logic for changing the agenda period.  It's not a critical
> issue, since the work around is so easy, but someone who understands
> that stretch of code might see it easily.

I cannot reproduce this. I tried your custom command above (tweaked to
use one of my TODO keywords --- STARTED). The habits consistently
appeared when switching back and forth between day and week views. Would
it be possible to provide a minimal file and config that reproduces the
error?

Best,
Matt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]