From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Wiegley Subject: Re: [org-habit] Problem when last DONE date is earlier than `org-habit-preceding-days' Date: Thu, 22 Oct 2009 06:29:38 -0400 Message-ID: <990CC7DF-7339-4050-B9A2-B1A7332C1031@gmail.com> References: <87eiovbumv.fsf@eee.in> Mime-Version: 1.0 (Apple Message framework v1075.2) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N0uvR-0006Vt-Ur for emacs-orgmode@gnu.org; Thu, 22 Oct 2009 06:29:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N0uvQ-0006UV-Ck for emacs-orgmode@gnu.org; Thu, 22 Oct 2009 06:29:44 -0400 Received: from [199.232.76.173] (port=58433 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0uvP-0006Tf-AE for emacs-orgmode@gnu.org; Thu, 22 Oct 2009 06:29:43 -0400 Received: from qw-out-1920.google.com ([74.125.92.146]:56351) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N0uvO-0002RH-KC for emacs-orgmode@gnu.org; Thu, 22 Oct 2009 06:29:42 -0400 Received: by qw-out-1920.google.com with SMTP id 5so1539034qwc.24 for ; Thu, 22 Oct 2009 03:29:41 -0700 (PDT) In-Reply-To: <87eiovbumv.fsf@eee.in> 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: Mikael Fornius Cc: emacs-orgmode@gnu.org On Oct 22, 2009, at 6:17 AM, Mikael Fornius wrote: > I have tracked down the problem (calling time-less-p on nil when > done-dates is empty) and the following patch is solving the issue > for me > but I am not sure if this is how you intended it. Your fix is correct, I've submitted a patch. John