emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* problems with continuous clocking
@ 2013-08-02  7:37 Hildegund Mythenmetz
  2013-08-02  9:11 ` Noorul Islam K M
  2013-08-02 19:19 ` Sebastien Vauban
  0 siblings, 2 replies; 4+ messages in thread
From: Hildegund Mythenmetz @ 2013-08-02  7:37 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1452 bytes --]

Hello,

I am experiencing some problems with the continuous clocking feature of
org-mode. I created a question in stackoverflow for this (see
http://stackoverflow.com/questions/17969129/emacs-org-mode-continuous-clocking-does-not-work
)

I would be grateful, if you could help me in resolving this issue..

Below  is the  description of the problem as asked in stackoverflow


Thanks you for any help,

Andreas


I activated the option org-clock-continuously to recover gaps in my
clocking and the continuous clocking does not seem to work.

I am often fixing endtimes for clocked items, because I forgot to clock out
(using the function org-resolve-clocks and using the K option (keep x
minutes).

When I am clocking in afterwards (in the agenda view) after having fixed
the last clock, org-mode always clocks me in with the current time instead
of the last time I clocked out (according to the clock resolution).

Example:

TODO sample todo

CLOCK: [2013-07-31 Mi 12:53]

M-x org-resolve-clocks -> K -> 5

CLOCK: [2013-07-31 Mi 12:53]--[2013-07-31 Mi 12:58] => 0:05

agenda view: clock in on a different task

(! no question, if I want to clock in now or at last clock out time !)

** TODO sample todo 2

CLOCK: [2013-07-31 Mi 13:22]

Any ideas how to fix this or what option I have to activate in addition to
org-clock-continuously?

I am working on windows 7 Professional with GNU Emacs (GNU Emacs 24.3.1
(i386-mingw-nt6.1.7601)) and orgmode 8.0.3

[-- Attachment #2: Type: text/html, Size: 6922 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: problems with continuous clocking
  2013-08-02  7:37 problems with continuous clocking Hildegund Mythenmetz
@ 2013-08-02  9:11 ` Noorul Islam K M
  2013-08-02 11:31   ` Hildegund Mythenmetz
  2013-08-02 19:19 ` Sebastien Vauban
  1 sibling, 1 reply; 4+ messages in thread
From: Noorul Islam K M @ 2013-08-02  9:11 UTC (permalink / raw)
  To: Hildegund Mythenmetz; +Cc: emacs-orgmode

Hildegund Mythenmetz <hildegund.mythenmetz@gmail.com> writes:

> Hello,
>
> I am experiencing some problems with the continuous clocking feature of
> org-mode. I created a question in stackoverflow for this (see
> http://stackoverflow.com/questions/17969129/emacs-org-mode-continuous-clocking-does-not-work
> )
>
> I would be grateful, if you could help me in resolving this issue..
>
> Below  is the  description of the problem as asked in stackoverflow
>
>
> Thanks you for any help,
>
> Andreas
>
>
> I activated the option org-clock-continuously to recover gaps in my
> clocking and the continuous clocking does not seem to work.
>
> I am often fixing endtimes for clocked items, because I forgot to clock out
> (using the function org-resolve-clocks and using the K option (keep x
> minutes).
>
> When I am clocking in afterwards (in the agenda view) after having fixed
> the last clock, org-mode always clocks me in with the current time instead
> of the last time I clocked out (according to the clock resolution).
>
> Example:
>
> TODO sample todo
>
> CLOCK: [2013-07-31 Mi 12:53]
>
> M-x org-resolve-clocks -> K -> 5
>
> CLOCK: [2013-07-31 Mi 12:53]--[2013-07-31 Mi 12:58] => 0:05
>
> agenda view: clock in on a different task
>
> (! no question, if I want to clock in now or at last clock out time !)
>
> ** TODO sample todo 2
>
> CLOCK: [2013-07-31 Mi 13:22]
>
> Any ideas how to fix this or what option I have to activate in addition to
> org-clock-continuously?
>
> I am working on windows 7 Professional with GNU Emacs (GNU Emacs 24.3.1
> (i386-mingw-nt6.1.7601)) and orgmode 8.0.3

I don't think you can work in the past. Usually I fix clock manually.

Thanks and Regards
Noorul

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: problems with continuous clocking
  2013-08-02  9:11 ` Noorul Islam K M
@ 2013-08-02 11:31   ` Hildegund Mythenmetz
  0 siblings, 0 replies; 4+ messages in thread
From: Hildegund Mythenmetz @ 2013-08-02 11:31 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 2464 bytes --]

Hmm,

I was expecting that the functionality helps me in avoiding the need to fix
clocks manually.. Perhaps I misunderstand the feature?

If I deactivate org-clock-continuously, I get the following question when
logging in : "You stopped another clock x minutes ago; start this one from
then?". If I answer with "Yes" the system clocks me in "correctly" (i.e. at
the time of the last clock out". I thought, that "org-clock-continuously"
automates this behaviour (basically answering "yes" automatically)

If org-clock-continuously does not do this, how can I achieve this?

All the best,
Andreas




2013/8/2 Noorul Islam K M <noorul@noorul.com>

> Hildegund Mythenmetz <hildegund.mythenmetz@gmail.com> writes:
>
> > Hello,
> >
> > I am experiencing some problems with the continuous clocking feature of
> > org-mode. I created a question in stackoverflow for this (see
> >
> http://stackoverflow.com/questions/17969129/emacs-org-mode-continuous-clocking-does-not-work
> > )
> >
> > I would be grateful, if you could help me in resolving this issue..
> >
> > Below  is the  description of the problem as asked in stackoverflow
> >
> >
> > Thanks you for any help,
> >
> > Andreas
> >
> >
> > I activated the option org-clock-continuously to recover gaps in my
> > clocking and the continuous clocking does not seem to work.
> >
> > I am often fixing endtimes for clocked items, because I forgot to clock
> out
> > (using the function org-resolve-clocks and using the K option (keep x
> > minutes).
> >
> > When I am clocking in afterwards (in the agenda view) after having fixed
> > the last clock, org-mode always clocks me in with the current time
> instead
> > of the last time I clocked out (according to the clock resolution).
> >
> > Example:
> >
> > TODO sample todo
> >
> > CLOCK: [2013-07-31 Mi 12:53]
> >
> > M-x org-resolve-clocks -> K -> 5
> >
> > CLOCK: [2013-07-31 Mi 12:53]--[2013-07-31 Mi 12:58] => 0:05
> >
> > agenda view: clock in on a different task
> >
> > (! no question, if I want to clock in now or at last clock out time !)
> >
> > ** TODO sample todo 2
> >
> > CLOCK: [2013-07-31 Mi 13:22]
> >
> > Any ideas how to fix this or what option I have to activate in addition
> to
> > org-clock-continuously?
> >
> > I am working on windows 7 Professional with GNU Emacs (GNU Emacs 24.3.1
> > (i386-mingw-nt6.1.7601)) and orgmode 8.0.3
>
> I don't think you can work in the past. Usually I fix clock manually.
>
> Thanks and Regards
> Noorul
>

[-- Attachment #2: Type: text/html, Size: 3556 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: problems with continuous clocking
  2013-08-02  7:37 problems with continuous clocking Hildegund Mythenmetz
  2013-08-02  9:11 ` Noorul Islam K M
@ 2013-08-02 19:19 ` Sebastien Vauban
  1 sibling, 0 replies; 4+ messages in thread
From: Sebastien Vauban @ 2013-08-02 19:19 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hildegund Mythenmetz wrote:
> I am often fixing endtimes for clocked items, because I forgot to clock out
> (using the function org-resolve-clocks and using the K option (keep x
> minutes).

Do you forget to clock out when quitting Emacs?  If yes, add this to your
.emacs:

--8<---------------cut here---------------start------------->8---
    ;; ask the user if they wish to clock out before killing Emacs
    (defun leuven--org-query-clock-out ()
      "Ask the user before clocking out.
    This is a useful function for adding to `kill-emacs-query-functions'."
      (if (and (featurep 'org-clock)
               (funcall 'org-clocking-p)
               (y-or-n-p "You are currently clocking time, clock out? "))
          (org-clock-out)
        t)) ;; only fails on keyboard quit or error

    (add-hook 'kill-emacs-query-functions 'leuven--org-query-clock-out)
--8<---------------cut here---------------end--------------->8---

Best regards,
  Seb

-- 
Sebastien Vauban

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-08-02 19:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-02  7:37 problems with continuous clocking Hildegund Mythenmetz
2013-08-02  9:11 ` Noorul Islam K M
2013-08-02 11:31   ` Hildegund Mythenmetz
2013-08-02 19:19 ` Sebastien Vauban

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