emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jeff Kowalczyk <jtk@yahoo.com>
To: emacs-orgmode@gnu.org
Subject: Re: Patch for resolving "away time" when clocked in
Date: Fri, 16 Oct 2009 17:02:48 +0000 (UTC)	[thread overview]
Message-ID: <loom.20091016T184944-436@post.gmane.org> (raw)
In-Reply-To: 23C3964F-E34B-4322-BCC7-3C5F8088CBB3@gmail.com

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	other threads:[~2009-10-16 17:03 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-16  7:03 Patch for resolving "away time" when clocked in John Wiegley
2009-10-16 14:25 ` Jeff Kowalczyk
2009-10-16 16:32   ` John Wiegley
2009-10-16 17:02     ` Jeff Kowalczyk [this message]
2009-10-16 17:41       ` John Wiegley
2009-10-16 17:52         ` John Wiegley
2009-10-16 18:13           ` Patch for resolving Jeff Kowalczyk
2009-10-16 15:59 ` Patch for resolving "away time" when clocked in Gregory J. Grubbs
2009-10-16 16:45   ` John Wiegley
2009-10-16 18:09     ` Gregory J. Grubbs
2009-10-16 18:43       ` John Wiegley
2009-10-19 15:41 ` Bernt Hansen
2009-10-19 20:44   ` John Wiegley
2009-10-19 22:02     ` Bernt Hansen
2009-10-20 11:57 ` James TD Smith
2009-10-20 16:43   ` John Wiegley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20091016T184944-436@post.gmane.org \
    --to=jtk@yahoo.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).