From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Only Clock in Top-Level Task Date: Thu, 12 Nov 2009 15:00:33 -0500 Message-ID: <87bpj75x9a.fsf@gollum.intra.norang.ca> References: <877htxomzu.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8fqV-0003ea-PQ for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 15:00:43 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8fqR-0003bh-Lw for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 15:00:43 -0500 Received: from [199.232.76.173] (port=38660 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8fqR-0003bZ-Ef for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 15:00:39 -0500 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:54152) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N8fqR-0007yO-1v for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 15:00:39 -0500 In-Reply-To: (Markus Heller's message of "Thu\, 12 Nov 2009 10\:48\:05 -0800") 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: Markus Heller Cc: emacs-orgmode@gnu.org 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. -Bernt