From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Horn Subject: Re: Habits bug? Date: Mon, 15 Nov 2010 16:29:47 -0500 Message-ID: <4CE1A64B.5080509@alum.mit.edu> References: <4CD97293.2060002@alum.mit.edu> <8739r8gj2s.fsf@fastmail.fm> <4CDC8F2E.1000808@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=46450 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PI6c7-00025q-9P for emacs-orgmode@gnu.org; Mon, 15 Nov 2010 16:29:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PI6c5-0000HN-87 for emacs-orgmode@gnu.org; Mon, 15 Nov 2010 16:29:23 -0500 Received: from mail2.panix.com ([166.84.1.73]:51408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PI6c5-0000HH-6U for emacs-orgmode@gnu.org; Mon, 15 Nov 2010 16:29:21 -0500 In-Reply-To: <4CDC8F2E.1000808@alum.mit.edu> 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: rjhorn@alum.mit.edu, emacs-orgmode@gnu.org Cc: Matt Lundin I tracked down the problem I was seeing. It's unrelated to habits. I just connected it with habits because it affects them, as well as other things. The default behavior of the built-in agenda is to set the point in the agenda to be today. This is not the default for custom commands. The closest that custom commands have is the option to start the agenda with today. That is actually what I prefer, so I'm happy with that. The resulting org-agenda-custom-commands is (setq org-agenda-custom-commands '(("h" "Agenda and This Week tasks" ((agenda "" ((org-agenda-start-on-weekday nil))) (todo "THISWEEK|STARTED"))))) What I was seeing was the non-display of today's calendar grid and habits due to the point being on another day. The combination of "d" and "r" was to get the day set to today, which caused today's calendar grid and habits to re-appear. R Horn