emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Keith Lancaster <klancaster1957@acm.org>
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: Unable to clock in on task
Date: Mon, 26 Oct 2009 16:35:45 -0400	[thread overview]
Message-ID: <6373.1256589345@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Keith Lancaster <klancaster1957@acm.org> of "Mon, 26 Oct 2009 14:32:39 CDT." <AA7549D7-6CD8-4AAE-9441-C88257CD2532@acm.org>

Keith Lancaster <klancaster1957@acm.org> wrote:

> I updated to 6.32 this morning and am now unable to clock in on
> tasks. At first, there was an issue with an org file having a dangling
> clock- 
> in. When I attempted to log in to a task, it alerted me to the
> dangling task. No matter how I answered (cancel, etc), Emacs crashed.
> I then fixed the dangling clock in question and tried again. Now,
> emacs crashed immediately without displaying a menu. I am guessing
> that the issue is still related to a dangling clock-in, but cannot be
> sure. Is there a way to disable the clock-checking feature? I'm on
> emacs 23 cocoa on Snow Leopard.
> 

The culprit must be the "emacs 23 cocoa on Snow Leopard" part.
It works fine (in the sense that "it does not lead to emacs crashes") on
Linux:

   Org-mode version 6.32 (release_6.32.8.g9077)
   GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 2009-10-13 on gamaville.dokosmarshall.org

I don't clock much (maybe one of these years, when I find the time...
the usual excuse of the procrastinator :-), so I'm not sure how things
are supposed to work. I tried to clock in a task from the agenda (using
I), I get a "dangling clock" message, I select cancel and everything is
fine.  I then clock out and the clock gets updated appropriately. I then
clock in again and get another dangling clock warning (with ~120000 mins
on it).  After doing it a few times on a couple of different items, I
don't get the dangling messages any more either. I guess all the clocks I had
started way back when, when I was playing with clocks, and had not closed,
were found, dealt with, and now I'm all set - maybe.

If anything is really wrong, I'm sure we'll get an earful when Bernt
(aka the king of clocking) upgrades !-)

As for turning things off, the following two (excerpted from org-clock.el)
might help (untested):

,----
| ...
| (defcustom org-clock-idle-time nil
|   "When non-nil, resolve open clocks if the user is idle more than X minutes."
|   :group 'org-clock
|   :type '(choice
| 	  (const :tag "Never" nil)
| 	  (integer :tag "After N minutes")))
| 
| (defcustom org-clock-auto-clock-resolution 'when-no-clock-is-running
|   "When to automatically resolve open clocks found in Org buffers."
|   :group 'org-clock
|   :type '(choice
| 	  (const :tag "Never" nil)
| 	  (const :tag "Always" t)
| 	  (const :tag "When no clock is running" when-no-clock-is-running)))
| ...
`----

HTH,
Nick

  reply	other threads:[~2009-10-26 20:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-26 19:32 Unable to clock in on task Keith Lancaster
2009-10-26 20:35 ` Nick Dokos [this message]
2009-10-26 21:56   ` Bernt Hansen
2009-10-27  9:59 ` Phil Rooke
2009-10-27 14:36   ` Nick Dokos
2009-10-27 14:48     ` Keith Lancaster
2009-10-27 15:06       ` Nick Dokos
     [not found]         ` <31980590-35DC-4887-8E5F-CCE8938AB1AD@acm.org>
2009-10-27 15:28           ` Keith Lancaster
2009-10-27 15:53         ` Phil Rooke
2009-10-27 15:06     ` Phil Rooke
2009-10-27 15:26     ` Carsten Dominik

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=6373.1256589345@gamaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=klancaster1957@acm.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).