emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Computed negative CLOCK time 1 hour off


From: Carsten Dominik
Subject: Re: [Orgmode] Computed negative CLOCK time 1 hour off
Date: Fri, 17 Oct 2008 07:27:59 +0200

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
<address@hidden> wrote:
Hi Chris,

what could possibly be the purpose of a negative time range?  Are you
working for a secret government agency?

:-)

- Carsten
<neg-time.patch>_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

[Prev in Thread] Current Thread [Next in Thread]