From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Horn Subject: Habits bug? Date: Tue, 09 Nov 2010 11:10:59 -0500 Message-ID: <4CD97293.2060002@alum.mit.edu> Reply-To: rjhorn@alum.mit.edu Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=32995 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PFqmL-0007dM-I2 for emacs-orgmode@gnu.org; Tue, 09 Nov 2010 11:10:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PFqmJ-0000KC-MY for emacs-orgmode@gnu.org; Tue, 09 Nov 2010 11:10:37 -0500 Received: from mail1.panix.com ([166.84.1.72]:65413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PFqmJ-0000Jn-Ke for emacs-orgmode@gnu.org; Tue, 09 Nov 2010 11:10:35 -0500 Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mail1.panix.com (Postfix) with ESMTP id 935BC1F08D for ; Tue, 9 Nov 2010 11:10:34 -0500 (EST) Received: from [192.168.1.21] (panix1.panix.com [166.84.1.1]) by mailbackend.panix.com (Postfix) with ESMTP id 60F0832F66 for ; Tue, 9 Nov 2010 11:10:34 -0500 (EST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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. R Horn