From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Ochocki Subject: Re: Timeline not working in 5.20 Date: Wed, 06 Feb 2008 20:11:03 -0600 Message-ID: References: <87ir12e76r.fsf@kamaloka.dhatu> <81156AB7-161F-4CBB-A936-54DA8F56D9A2@science.uva.nl> <47AA0308.1030109@gmail.com> <87abmdwuj9.fsf@shellarchive.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JMwEO-0001JG-OG for emacs-orgmode@gnu.org; Wed, 06 Feb 2008 21:11:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JMwEN-0001J0-9w for emacs-orgmode@gnu.org; Wed, 06 Feb 2008 21:11:15 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMwEN-0001Ix-4j for emacs-orgmode@gnu.org; Wed, 06 Feb 2008 21:11:15 -0500 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JMwEN-0003vP-14 for emacs-orgmode@gnu.org; Wed, 06 Feb 2008 21:11:15 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JMwEJ-0008WP-6b for emacs-orgmode@gnu.org; Thu, 07 Feb 2008 02:11:11 +0000 Received: from host-223-104-2-96.midco.net ([96.2.104.223]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Feb 2008 02:11:11 +0000 Received: from mjochocki by host-223-104-2-96.midco.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Feb 2008 02:11:11 +0000 In-Reply-To: <87abmdwuj9.fsf@shellarchive.co.uk> 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 Phil Jackson wrote: > Wanrong Lin writes: > >> I have the same problem, and here is a mini-example that will generate >> the error "Arithmetic range error: "floor", -0.0e+NaN ", hope it >> helps. > > I've had a look and I think the culprit is: > > ,----[ line 21411 ] > | dfrac (/ (* 1.0 (- wdays diff)) wdays) > `---- > > Which evals to -0.0e+NaN and then propagates. Might see if I can dig > further tomorrow if I get time. > > Cheers, > Phil I believe line 21411 also causes problems with Deadlines when individual items are changed from the default set in org-deadline-warning-days. Here's an example from my org file: Day-agenda: Controller: In 4 d.: TODO Review Fin... :workpc:(priority 1060) Controller: In 5 d.: TODO Brief MA... :work: (priority 1050) Controller: In 4 d.: TODO Run sale... :workpc:(priority 1042) org file: ***** TODO Run sale... :workpc: DEADLINE: <2008-02-10 Sun +1m -7d> ***** TODO Review Fin... :workpc: DEADLINE: <2008-02-10 Sun +1m -10d> ***** TODO Brief MA... :work: DEADLINE: <2008-02-11 Mon -10d> I think the 5 day deadline should have a lower priority than the 4 day priority regardless of the percentage of completion. Agree? Mark J. Ochocki