From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus Heller Subject: Re: Only Clock in Top-Level Task Date: Thu, 12 Nov 2009 16:19:02 -0800 Message-ID: <4AFCA5F6.3030907@gmail.com> References: <877htxomzu.fsf@gollum.intra.norang.ca> <87bpj75x9a.fsf@gollum.intra.norang.ca> <65635B27-23A4-4B7C-94A4-9809826C41C3@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8jt1-0004a6-6O for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 19:19:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8jsv-0004Vx-Ce for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 19:19:33 -0500 Received: from [199.232.76.173] (port=51531 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8jsv-0004Vu-9u for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 19:19:29 -0500 Received: from lo.gmane.org ([80.91.229.12]:39567) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N8jsu-0007kW-OC for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 19:19:29 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1N8jss-0001de-Cp for emacs-orgmode@gnu.org; Fri, 13 Nov 2009 01:19:26 +0100 Received: from mail.cdrd.ca ([142.103.191.98]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Nov 2009 01:19:26 +0100 Received: from hellerm2 by mail.cdrd.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Nov 2009 01:19:26 +0100 In-Reply-To: <65635B27-23A4-4B7C-94A4-9809826C41C3@gmail.com> 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 Cc: Bernt Hansen , emacs-orgmode@gnu.org Carsten Dominik wrote: > > 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. 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