emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Markus Heller <hellerm2@gmail.com>
Cc: Bernt Hansen <bernt@norang.ca>, emacs-orgmode@gnu.org
Subject: Re: Only Clock in Top-Level Task
Date: Thu, 12 Nov 2009 16:19:02 -0800	[thread overview]
Message-ID: <4AFCA5F6.3030907@gmail.com> (raw)
In-Reply-To: <65635B27-23A4-4B7C-94A4-9809826C41C3@gmail.com>

Carsten Dominik wrote:
> 
> On Nov 12, 2009, at 9:00 PM, Bernt Hansen wrote:
> 
>> Markus Heller <hellerm2@gmail.com> writes:
>>
>> Q> Bernt Hansen wrote:
>>>> Markus Heller <hellerm2@gmail.com> writes:
>>>>
>>>>> Hello,
>>>>>
>>>>> This is what my project.org looks like:
>>>>>
>>>>> * STARTED My Project                    :NEXT:   
>>>>>  :LOGBOOK:...
>>>>>
>>>>> ** TODO Task 1 [0/2]
>>>>> *** TODO Sub-Task 1
>>>>> *** TODO Sub-Task 2
>>>>>
>>>>> This is what I'd like to do:
>>>>>
>>>>> I'd like to be able to clock in from Task 1, Sub-Task 1, or Sub-Task
>>>>> 2, but make org-mode add the clock entries into the :LOGBOOK: of My
>>>>> Project, i.e. the top-level task/project.  In other words, I'm not
>>>>> interested in keeping track of how much time I spent on Task 1, or any
>>>>> of the sub-tasks, I'm only interested in the time I've spent on
>>>>> working on My Project.
>>>>>
>>>>> Is there anyway to do this?
>>>>
>>>> C-c C-x C-d will total time for a task including times on a subtask.
>>>>
>>>> -Bernt
>>>
>>> Hi Bernt,
>>>
>>> I saw this option in the manual, but this is not quite what I
>>> want. What I'd like to be able to is clock in from any sub-task and be
>>> clocked into the *top-level* task, not the task I'm clocking in from.
>>>
>>> Is that feasible?  Or am I too confusing?
>>
>> There is nothing I'm aware of that is built in which will accomplish
>> what you want.  You might be able to use the org-clock-in-hook and
>> custom lisp code to clock in the top-most parent task.
> 
> Indeed, this is not implemented, and I have a hard time seeing why this 
> would be desirable?  Summing i always hierarchical, so the time will be 
> shown in the parent time anyway.

Thanks for the reply, Carsten (and Bernt of course).

The reason why I'm asking is I started out with clocking tasks using a 
really simple setup (I consider myself a bloody org newbie) where I only 
had level 1 tasks.  Now, I've added level 2 and level 3 tasks, and I 
wondered if my sudden clocking of level 2 tasks would screw up the clock 
summary.

Good to know that it won't, this'll help me in using org more effciently.

Thanks for org-mode, btw, it's a really great thing!

Markus

      reply	other threads:[~2009-11-13  0:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-10 23:39 Only Clock in Top-Level Task Markus Heller
2009-11-11  1:42 ` Bernt Hansen
2009-11-12 18:48   ` Markus Heller
2009-11-12 20:00     ` Bernt Hansen
2009-11-12 23:51       ` Carsten Dominik
2009-11-13  0:19         ` Markus Heller [this message]

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=4AFCA5F6.3030907@gmail.com \
    --to=hellerm2@gmail.com \
    --cc=bernt@norang.ca \
    --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).