From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Only Clock in Top-Level Task Date: Fri, 13 Nov 2009 00:51:46 +0100 Message-ID: <65635B27-23A4-4B7C-94A4-9809826C41C3@gmail.com> References: <877htxomzu.fsf@gollum.intra.norang.ca> <87bpj75x9a.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8jSG-0005pG-Uq for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 18:51:57 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8jSB-0005mv-3v for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 18:51:55 -0500 Received: from [199.232.76.173] (port=56596 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8jSA-0005ms-TD for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 18:51:50 -0500 Received: from ey-out-1920.google.com ([74.125.78.146]:40999) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N8jSA-0003t3-GK for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 18:51:50 -0500 Received: by ey-out-1920.google.com with SMTP id 3so696780eyh.34 for ; Thu, 12 Nov 2009 15:51:50 -0800 (PST) In-Reply-To: <87bpj75x9a.fsf@gollum.intra.norang.ca> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bernt Hansen Cc: Markus Heller , emacs-orgmode@gnu.org On Nov 12, 2009, at 9:00 PM, Bernt Hansen wrote: > Markus Heller writes: > > Q> Bernt Hansen wrote: >>> Markus Heller 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. - Carsten