emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Markus Heller <hellerm2@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Only Clock in Top-Level Task
Date: Thu, 12 Nov 2009 15:00:33 -0500	[thread overview]
Message-ID: <87bpj75x9a.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <hdhl95$38c$1@ger.gmane.org> (Markus Heller's message of "Thu\, 12 Nov 2009 10\:48\:05 -0800")

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.

-Bernt

  reply	other threads:[~2009-11-12 20:00 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 [this message]
2009-11-12 23:51       ` Carsten Dominik
2009-11-13  0:19         ` Markus Heller

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=87bpj75x9a.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=hellerm2@gmail.com \
    /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).