From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Computed negative CLOCK time 1 hour off Date: Fri, 17 Oct 2008 07:27:59 +0200 Message-ID: References: <5ea706d0810160824i3d1c4848v252c2fd22b1eb068@mail.gmail.com> <7355589A-8AF4-44C9-BD0E-454D4838C90F@uva.nl> <5ea706d0810161903g5d8edc68xfd6fa02f7ef95c6b@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v929.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 1Kqhsd-00026g-CO for emacs-orgmode@gnu.org; Fri, 17 Oct 2008 01:28:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kqhsc-000257-H4 for emacs-orgmode@gnu.org; Fri, 17 Oct 2008 01:28:06 -0400 Received: from [199.232.76.173] (port=36781 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kqhsc-00024s-C2 for emacs-orgmode@gnu.org; Fri, 17 Oct 2008 01:28:06 -0400 Received: from nf-out-0910.google.com ([64.233.182.186]:14507) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kqhsc-000687-Au for emacs-orgmode@gnu.org; Fri, 17 Oct 2008 01:28:06 -0400 Received: by nf-out-0910.google.com with SMTP id c7so202001nfi.26 for ; Thu, 16 Oct 2008 22:28:04 -0700 (PDT) In-Reply-To: <5ea706d0810161903g5d8edc68xfd6fa02f7ef95c6b@mail.gmail.com> 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: Chris Leyon Cc: emacs-orgmode@gnu.org Hi Chris On Oct 17, 2008, at 4:03 AM, Chris Leyon wrote: > There is a precedent in the Emacs manual -- Appendix E, Antinews: "For > those users who live backwards in time [...]" Great answer. And thanks for the patch. I am applying it. However, I am sure there are more similar problems, so I am not at all sure that calculating clock sums, or summing properties that contain times, will work properly with negative time intervals. I did not pay any attention to this when writing those functions, and it is likely that similar problems will exist. - Carsten > > > :-) > > I admit there may not be great practical utility in a negative time > range. But the interval is well-defined so it ought to be computed > correctly. I would say that a wrong answer is worse than no answer > since it may be believed correct at first glance, when it is not. > > Anyway, I'm including a patch for 6.09 which seems to fix the > problem.... > > On Thu, Oct 16, 2008 at 12:39 PM, Carsten Dominik > wrote: >> Hi Chris, >> >> what could possibly be the purpose of a negative time range? Are you >> working for a secret government agency? >> >> :-) >> >> - Carsten > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode