emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: Patch for resolving "away time" when clocked in


From: Jeff Kowalczyk
Subject: [Orgmode] Re: Patch for resolving "away time" when clocked in
Date: Fri, 16 Oct 2009 17:02:48 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

John Wiegley <jwiegley <at> gmail.com> writes:
> 
> 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. 

Thank you. With that change there are no more visible errors or backtraces.

> 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.

No error anymore as mentioned above.

I'm not sure I'm triggering the new functionality correctly. In the scratch
buffer, I eval'd:

(setq org-clock-idle-time 1)

Next, I created an Org buffer with one TODO file, and clocked in, and took my
hands off the computer. I waited three minutes, then clocked out.

* Worklog
** TODO Task 1
   :LOGBOOK:
   CLOCK: [2009-10-16 Fri 09:42]--[2009-10-16 Fri 09:46] =>  0:04
   :END:

Was I supposed to be prompted to resolve some minutes when clocking out after
the org-clock-idle-time had elapsed?

Thanks,
Jeff





reply via email to

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