Re: [O] Time clocking problem

2016-09-04 Thread Malcolm Purvis
> "Louis" == Louis Turk  writes:

Louis> * Organization
[...]
Louis> :PROPERTIES:
Louis> :CLOCK_MODELINE_TOTAL: today
Louis> :id: eb155a82-92b2-4f25-a3c6-0304591af2f9
Louis> :END:

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

Louis,

These look correct to me.  Does the following command produce any output?

M-: (org-id-find bh/organization-task-id)

Perhaps org can't find file with the Organization node.  It the file in
your agenda list?

Malcolm

-- 
   Malcolm Purvis 



Re: [O] Time clocking problem

2016-09-01 Thread Louis Turk
On 09/01/2016 06:53 PM, Malcolm Purvis wrote:
>> "Louis" == Louis Turk  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




Re: [O] Time clocking problem

2016-09-01 Thread Malcolm Purvis
> "Louis" == Louis Turk  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

-- 
   Malcolm Purvis 



[O] Time clocking problem

2016-08-31 Thread Louis Turk
Hi everyone,

I'm trying to learn how to time my work using this setup:

http://doc.norang.ca/org-mode.html

It is my understanding that:

1. When I punch in each morning using  I the cursor can be anywhere
in any file, and this will start the clock in the * Organization task.

2. I can then go to a todo item and clock in to it, also using  I,
and the clock will automatically stop on the *Organization task, and
start on the todo item.

3. When I clock out of the todo item, the clock should automatically
start again in the *Organization task.

1 and 3 do not work for me. I have to place the cursor on the
*Organization task to start timing it. And when I clock out of a todo
item, the *Organization task is not automatically clocked in.

Am I misunderstanding something? I want to keep track of all my work
time. Do I have to do it all manually?

Also, how can I be sure that org-id is working properly?

Many thanks in advance for any help.

Louis