emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Carsten Dominik <carsten.dominik@gmail.com>,
	John Wiegley <jwiegley@gmail.com>
Cc: Org-mode Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: Clocking in the current task should clock it out first
Date: Mon, 22 Mar 2010 20:25:50 -0400	[thread overview]
Message-ID: <87k4t328a9.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <ED714D36-4221-4D07-864E-0FCD40CC1525@gmail.com> (Carsten Dominik's message of "Fri\, 19 Mar 2010 18\:36\:02 +0100")

Hi,

I tried playing with this again last weekend and I can't get it to break
on my Linux machine with GNU Emacs 22.2.1

I've seen it break (at least once) on windows at work... but I haven't
tried to reproduce that in my spare time.  Somehow I just can't get
myself to use Windows for 'fun' :-P

I tried the auto clock resolution with my normal clocking setup (where
the clock runs all the time, and I explicitly clock in and out
regardless of todo state changes).

I can't get the clock resolution/idle time code to do anything really
useful in my setup.  If I do org-resolve-clocks when my current task is
clocking it asks for how many minutes to keep etc, and then clocks in
from *now* leaving a hole in my clock data which I don't want.

I'm not sure exactly how this stuff is supposed to work - maybe John can
shed some light on this.  I can't find documentation about resolving
clocks in the regular org-mode documentation either.  I remember an
article John posted on the mailing list but I don't think that got into
the official org-mode documentation other than the lisp functions and
docstrings.

I have also notice that clock resolution (in the distant past) would
overlap clock times.  If it finds more than one open clock it can
resolve them so that they overlap with other clock entries and for me
that's _really_ _really_ bad.  I'd rather have it to nothing than create
hard-to-find overlapping clock entries.

For now I'll continue to run with org-clock-auto-clock-resolution set to
nil until I understand how this is supposed to work and make life better
for me :)

I would really like it to be more useful than it is in my setup but I'm
not really missing this functionality alot at the moment and my time to
play with it is extremely limited at present.

Regards,
Bernt


Carsten Dominik <carsten.dominik@gmail.com> writes:

> Hi,
>
> strangely enough, this does not happen for me.  Maybe you
> have some setup for clock resolution that I do not have?
>
> - Carsten
>
> On Mar 17, 2010, at 2:06 PM, Bernt Hansen wrote:
>
>> Daniel Clemente <n142857@gmail.com> writes:
>>
>>> Hi,
>>>  in recent org-modes a new behaviour was added: when doing C-c C-x
>>> C-i on the current task, it isn't clocked out first. It shows the
>>> message „Clock continues in "[task]"“ and adds a new line for the
>>> clock in.
>>>  This creates a clock section like:
>>>
>>> #+BEGIN_EXAMPLE
>>> *** after pressing many successive C-c C-x C-i …
>>> 	:CLOCK:
>>> 	CLOCK: [2010-03-17 dc 10:25]--[2010-03-17 dc 10:30] =>  0:05
>>> 	CLOCK: [2010-03-17 dc 10:20]
>>> 	CLOCK: [2010-03-17 dc 10:20]
>>> 	CLOCK: [2010-03-17 dc 10:20]
>>> 	CLOCK: [2010-03-17 dc 10:20]
>>> 	CLOCK: [2010-03-17 dc 10:20]
>>> 	CLOCK: [2010-03-17 dc 10:20]
>>> 	CLOCK: [2010-03-12 dv 16:38]--[2010-03-12 dv 16:39] =>  0:01
>>> 	:END:
>>> #+END_EXAMPLE
>>>
>>>
>>>  They are later correctly found to be dangling clocks.
>>>  I presume this is a bug?
>>
>> Hi Daniel,
>>
>> Yes I believe this is a bug.  I think I've also run into this issue
>> but
>> I have auto clock resolution disabled so this is not leaving open
>> clocks
>> in my setup.
>>
>> (setq org-clock-auto-clock-resolution nil)
>>
>> This of course is only a temporary work around until a real fix
>> occurs.
>> I haven't had the time to investigate this yet but it is on my list of
>> things to look at.
>>
>> -Bernt
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
> - Carsten
>
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  parent reply	other threads:[~2010-03-23  0:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-17  9:45 Clocking in the current task should clock it out first Daniel Clemente
2010-03-17 13:06 ` Bernt Hansen
2010-03-19 17:36   ` Carsten Dominik
2010-03-21 13:14     ` Daniel Clemente
2010-03-23  0:25     ` Bernt Hansen [this message]
2010-05-16 17:15       ` John Wiegley
2010-05-16 20:44         ` Bernt Hansen

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=87k4t328a9.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jwiegley@gmail.com \
    /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).