emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Louis Turk <lou@dayspringpublisher.com>
To: emacs-orgmode@gnu.org
Subject: Re: Time clocking problem
Date: Thu, 1 Sep 2016 20:59:51 +0800	[thread overview]
Message-ID: <f21c6dab-c5ff-a35b-d748-0c31d3d010a2@dayspringpublisher.com> (raw)
In-Reply-To: <m2wpivriva.fsf@lamech.local>

On 09/01/2016 06:53 PM, Malcolm Purvis wrote:
>>>>>> "Louis" == Louis Turk <lou@dayspringpublisher.com> 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	other threads:[~2016-09-01 13:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-01  2:27 Time clocking problem Louis Turk
2016-09-01 10:53 ` Malcolm Purvis
2016-09-01 12:59   ` Louis Turk [this message]
2016-09-04 12:38     ` Malcolm Purvis

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=f21c6dab-c5ff-a35b-d748-0c31d3d010a2@dayspringpublisher.com \
    --to=lou@dayspringpublisher.com \
    --cc=emacs-orgmode@gnu.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).