Robert Horn <rjh...@alum.mit.edu> 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 _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode