emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Time clocking problem


From: Louis Turk
Subject: Re: [O] Time clocking problem
Date: Thu, 1 Sep 2016 20:59:51 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

On 09/01/2016 06:53 PM, Malcolm Purvis wrote:
>>>>>> "Louis" == Louis Turk <address@hidden> writes:
> 
> Louis> 1 and 3 do not work for me. I have to place the cursor on the
> Louis> *Organization task to start timing it. And when I clock out of a
> Louis> todo item, the *Organization task is not automatically clocked
> Louis> in.
> 
> The code searches for the Organization task by the id stored in
> the variable bh/organization-task-id.  Are these matching in your case?
> 
> Eg:
> 
> #+begin_src org
> ,#+FILETAGS: PERSONAL
> ...
> ,* Tasks
> ,** Organization
>    :PROPERTIES:
>    :CLOCK_MODELINE_TOTAL: today
>    :ID:       eb155a82-92b2-4f25-a3c6-0304591af2f9
>    :END:
>    ...
> #+end_src
> 
> #+begin_src elisp
> (setq bh/organization-task-id "eb155a82-92b2-4f25-a3c6-0304591af2f9")
> #+end_src
> 
> Malcolm
> 

Hi Malcolm,

Thanks for responding.

Here is what I have:

#+FILETAGS OFFICE
#+OPTIONS: toc:0 H:4

* Organization
:LOGBOOK:
CLOCK: [2016-09-01 Thu 20:42]--[2016-09-01 Thu 20:43] =>  0:01
CLOCK: [2016-09-01 Thu 07:55]--[2016-09-01 Thu 07:56] =>  0:01
CLOCK: [2016-08-31 Wed 15:51]--[2016-08-31 Wed 15:54] =>  0:03
CLOCK: [2016-08-31 Wed 10:02]--[2016-08-31 Wed 10:36] =>  0:34
CLOCK: [2016-08-31 Wed 08:45]--[2016-08-31 Wed 09:09] =>  0:24
CLOCK: [2016-08-30 Tue 14:08]--[2016-08-30 Tue 14:09] =>  0:01
CLOCK: [2016-08-30 Tue 10:24]--[2016-08-30 Tue 10:25] =>  0:01
CLOCK: [2016-08-29 Mon 10:56]--[2016-08-29 Mon 11:08] =>  0:12
:END:
:PROPERTIES:
:CLOCK_MODELINE_TOTAL: today
:id: eb155a82-92b2-4f25-a3c6-0304591af2f9
:END:

This line is in my .emacs:

(defvar bh/organization-task-id "eb155a82-92b2-4f25-a3c6-0304591af2f9")

If I type:

C-u C-c C-x C-i 3

The clock starts on the * Organization task. So I assume the ID must not
be the problem.

The clock time above were all started with the cursor on the *
Organization task, except the top one which was started with C-u C-c C-x
C-i 3

Louis




reply via email to

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