From: Matt Lundin <mdl@imapmail.org>
To: rjhorn@alum.mit.edu
Cc: emacs-orgmode@gnu.org
Subject: Re: Habits bug?
Date: Thu, 11 Nov 2010 07:07:07 -0500 [thread overview]
Message-ID: <8739r8gj2s.fsf@fastmail.fm> (raw)
In-Reply-To: <4CD97293.2060002@alum.mit.edu> (Robert Horn's message of "Tue, 09 Nov 2010 11:10:59 -0500")
Robert Horn <rjhorn@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
next prev parent reply other threads:[~2010-11-11 12:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-09 16:10 Habits bug? Robert Horn
2010-11-11 12:07 ` Matt Lundin [this message]
2010-11-12 0:49 ` Robert Horn
2010-11-15 21:29 ` Robert Horn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8739r8gj2s.fsf@fastmail.fm \
--to=mdl@imapmail.org \
--cc=emacs-orgmode@gnu.org \
--cc=rjhorn@alum.mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).