From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Wiegley Subject: Re: Re: Patch for resolving "away time" when clocked in Date: Fri, 16 Oct 2009 12:32:15 -0400 Message-ID: <23C3964F-E34B-4322-BCC7-3C5F8088CBB3@gmail.com> References: <27E1810B-0447-46B3-9AF4-BA14ACECA00A@gmail.com> 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 1Mypj3-0006Qs-9w for emacs-orgmode@gnu.org; Fri, 16 Oct 2009 12:32:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mypj2-0006Px-Oo for emacs-orgmode@gnu.org; Fri, 16 Oct 2009 12:32:20 -0400 Received: from [199.232.76.173] (port=35860 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mypj2-0006Po-It for emacs-orgmode@gnu.org; Fri, 16 Oct 2009 12:32:20 -0400 Received: from fg-out-1718.google.com ([72.14.220.156]:63098) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mypj2-0002E6-8Q for emacs-orgmode@gnu.org; Fri, 16 Oct 2009 12:32:20 -0400 Received: by fg-out-1718.google.com with SMTP id 16so980625fgg.12 for ; Fri, 16 Oct 2009 09:32:19 -0700 (PDT) In-Reply-To: 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: Jeff Kowalczyk Cc: emacs-orgmode@gnu.org On Oct 16, 2009, at 10:25 AM, Jeff Kowalczyk wrote: > I applied the patch against 93f396, and on Emacs 23.1 I get an error > when > clocking in. The error happens the first clock-in for each Emacs > session, but > the 'invalid timer' message shows for subsequent clock-in/out. In org-clock.el, on line 236, please change that line to: (defvar org-clock-left-over-time nil And see if this resolves your problem. I am unable to reproduce the cancel-timer failure here. Please load org-clock.el into Emacs and type M-x eval-buffer and then trigger it again, that I may see the complete stack trace. Thank you, John