From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Chris Leyon" Subject: Re: Computed negative CLOCK time 1 hour off Date: Thu, 16 Oct 2008 22:03:15 -0400 Message-ID: <5ea706d0810161903g5d8edc68xfd6fa02f7ef95c6b@mail.gmail.com> References: <5ea706d0810160824i3d1c4848v252c2fd22b1eb068@mail.gmail.com> <7355589A-8AF4-44C9-BD0E-454D4838C90F@uva.nl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_80124_30589272.1224208995449" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KqegT-0006n6-67 for emacs-orgmode@gnu.org; Thu, 16 Oct 2008 22:03:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KqegR-0006m2-5E for emacs-orgmode@gnu.org; Thu, 16 Oct 2008 22:03:20 -0400 Received: from [199.232.76.173] (port=49841 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqegQ-0006lx-OC for emacs-orgmode@gnu.org; Thu, 16 Oct 2008 22:03:18 -0400 Received: from wf-out-1314.google.com ([209.85.200.169]:53891) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KqegQ-0005Ac-3A for emacs-orgmode@gnu.org; Thu, 16 Oct 2008 22:03:18 -0400 Received: by wf-out-1314.google.com with SMTP id 28so345588wfc.24 for ; Thu, 16 Oct 2008 19:03:15 -0700 (PDT) In-Reply-To: <7355589A-8AF4-44C9-BD0E-454D4838C90F@uva.nl> 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 ------=_Part_80124_30589272.1224208995449 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline There is a precedent in the Emacs manual -- Appendix E, Antinews: "For those users who live backwards in time [...]" :-) 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 ------=_Part_80124_30589272.1224208995449 Content-Type: text/x-patch; name=neg-time.patch Content-Transfer-Encoding: base64 X-Attachment-Id: f_fme6c2q40 Content-Disposition: attachment; filename=neg-time.patch LS0tIC9ob21lL2NsZXlvbi91L3NoYXJlL2VtYWNzL3NpdGUtbGlzcC9vcmctNi4wOS9saXNwL29y Zy5lbAkyMDA4LTEwLTA5IDEwOjI1OjEyLjAwMDAwMDAwMCAtMDQwMAorKysgb3JnLmVsCTIwMDgt MTAtMTYgMjE6NTc6NDUuMDAwMDAwMDAwIC0wNDAwCkBAIC0yNTExLDExICsyNTExLDEyIEBACiAJ CSAgICAgIChhcHBseSAnZW5jb2RlLXRpbWUgKG9yZy1wYXJzZS10aW1lLXN0cmluZyB0ZSkpKQog CQkgICAgICh0aW1lLXRvLXNlY29uZHMKIAkJICAgICAgKGFwcGx5ICdlbmNvZGUtdGltZSAob3Jn LXBhcnNlLXRpbWUtc3RyaW5nIHRzKSkpKQotCQloIChmbG9vciAoLyBzIDM2MDApKQorCQlzaWdu IChpZiAoPCBzIDApICItIiAiIikKKwkJaCAodHJ1bmNhdGUgKC8gcyAzNjAwKSkKIAkJcyAoLSBz ICgqIDM2MDAgaCkpCi0JCW0gKGZsb29yICgvIHMgNjApKQorCQltICh0cnVuY2F0ZSAoLyBzIDYw KSkKIAkJcyAoLSBzICgqIDYwIHMpKSkKLQkgIChpbnNlcnQgIiA9PiAiIChmb3JtYXQgIiUyZDol MDJkIiBoIG0pKQorCSAgKGluc2VydCAiID0+ICIgKGZvcm1hdCAiJXMlZDolMDJkIiBzaWduIChh YnMgaCkgKGFicyBtKSkpCiAJICB0KSkpKSkpCiAKIChkZWZ1biBvcmctY2hlY2stcnVubmluZy1j bG9jayAoKQo= ------=_Part_80124_30589272.1224208995449 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 ------=_Part_80124_30589272.1224208995449--