emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Agenda clock report - show currently clocked task?
@ 2011-04-26 19:29 Nathan Neff
  2011-04-26 19:56 ` Bernt Hansen
  0 siblings, 1 reply; 5+ messages in thread
From: Nathan Neff @ 2011-04-26 19:29 UTC (permalink / raw)
  To: emacs-orgmode

Does the clock report in the agenda exclude time spent in the
currently clocked task?

Is there a way to turn this on?

For example, I have 3 hours clocked in Task1, and I'm clocked into Task2
for 1 hour:  My clock report in the agenda only shows the 3 hours in Task1.

If I clock-out and refresh the agenda, then the clock report shows
Task1 and Task2.

Thanks,
--Nate

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Agenda clock report - show currently clocked task?
  2011-04-26 19:29 Agenda clock report - show currently clocked task? Nathan Neff
@ 2011-04-26 19:56 ` Bernt Hansen
  2011-04-27 10:11   ` Sébastien Vauban
  2011-05-09 23:41   ` Nathan Neff
  0 siblings, 2 replies; 5+ messages in thread
From: Bernt Hansen @ 2011-04-26 19:56 UTC (permalink / raw)
  To: Nathan Neff; +Cc: emacs-orgmode

Nathan Neff <nathan.neff@gmail.com> writes:

> Does the clock report in the agenda exclude time spent in the
> currently clocked task?
>
> Is there a way to turn this on?

org-clock-report-include-clocking-task

-Bernt

>
> For example, I have 3 hours clocked in Task1, and I'm clocked into Task2
> for 1 hour:  My clock report in the agenda only shows the 3 hours in Task1.
>
> If I clock-out and refresh the agenda, then the clock report shows
> Task1 and Task2.
>
> Thanks,
> --Nate

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Agenda clock report - show currently clocked task?
  2011-04-26 19:56 ` Bernt Hansen
@ 2011-04-27 10:11   ` Sébastien Vauban
  2011-04-27 20:29     ` Bernt Hansen
  2011-05-09 23:41   ` Nathan Neff
  1 sibling, 1 reply; 5+ messages in thread
From: Sébastien Vauban @ 2011-04-27 10:11 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi Bernt,

Bernt Hansen wrote:
> Nathan Neff <nathan.neff-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>> Does the clock report in the agenda exclude time spent in the currently
>> clocked task?
>>
>> Is there a way to turn this on?
>
> org-clock-report-include-clocking-task

Don't you find that, when set, the current elapsed time should also be
inserted in the "logged" view of the agenda for today -- instead of the dash
sign?

Example with current Org Git version:

--8<---------------cut here---------------start------------->8---
2011-04-27 Wed ______________________________________________________
  Weather:     6:21...... Sunrise (+0200)
               8:00...... 
  Work:        9:08- 9:27 Clocked:   (0:19) TODO Organize work
  work:        9:27-11:42 Clocked:   (2:15) TODO Read email and news
              10:00...... 
  Work:       11:42...... Clocked:   (-) TODO Organize work
              12:00...... 
              12:06...... now
              14:00...... 
--8<---------------cut here---------------end--------------->8---

It'd logical to see 0:24 instead (elapsed time between 11:42 and "now", here
12:06)?

Best regards,
  Seb

-- 
Sébastien Vauban

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Agenda clock report - show currently clocked task?
  2011-04-27 10:11   ` Sébastien Vauban
@ 2011-04-27 20:29     ` Bernt Hansen
  0 siblings, 0 replies; 5+ messages in thread
From: Bernt Hansen @ 2011-04-27 20:29 UTC (permalink / raw)
  To: Sébastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ



Sébastien Vauban <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
writes:

> Hi Bernt,
>
> Bernt Hansen wrote:
>> Nathan Neff <nathan.neff-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>>> Does the clock report in the agenda exclude time spent in the currently
>>> clocked task?
>>>
>>> Is there a way to turn this on?
>>
>> org-clock-report-include-clocking-task
>
> Don't you find that, when set, the current elapsed time should also be
> inserted in the "logged" view of the agenda for today -- instead of the dash
> sign?
>
> Example with current Org Git version:
>
> 2011-04-27 Wed ______________________________________________________
>   Weather:     6:21...... Sunrise (+0200)
>                8:00...... 
>   Work:        9:08- 9:27 Clocked:   (0:19) TODO Organize work
>   work:        9:27-11:42 Clocked:   (2:15) TODO Read email and news
>               10:00...... 
>   Work:       11:42...... Clocked:   (-) TODO Organize work
>               12:00...... 
>               12:06...... now
>               14:00...... 
>
> It'd logical to see 0:24 instead (elapsed time between 11:42 and "now", here
> 12:06)?

Yes that's logical but... I didn't need that functionality when I
created this variable so I intentionally limited it to just the clock
report.

It would make perfect sense to me for this to also affect:

  - log mode in the agenda (as you described)
  - C-c C-x C-d to sum up clock times for trees in org files

This was never implemented mainly because R in the agenda is what I
wanted to work at the time and it has never been revisited.  I'm sure
these types of changes would be welcome, it just isn't high enough of my
radar currently.

Regards,
Bernt

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Agenda clock report - show currently clocked task?
  2011-04-26 19:56 ` Bernt Hansen
  2011-04-27 10:11   ` Sébastien Vauban
@ 2011-05-09 23:41   ` Nathan Neff
  1 sibling, 0 replies; 5+ messages in thread
From: Nathan Neff @ 2011-05-09 23:41 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode

Thanks!

On Tue, Apr 26, 2011 at 2:56 PM, Bernt Hansen <bernt@norang.ca> wrote:
> Nathan Neff <nathan.neff@gmail.com> writes:
>
>> Does the clock report in the agenda exclude time spent in the
>> currently clocked task?
>>
>> Is there a way to turn this on?
>
> org-clock-report-include-clocking-task
>
> -Bernt
>
>>
>> For example, I have 3 hours clocked in Task1, and I'm clocked into Task2
>> for 1 hour:  My clock report in the agenda only shows the 3 hours in Task1.
>>
>> If I clock-out and refresh the agenda, then the clock report shows
>> Task1 and Task2.
>>
>> Thanks,
>> --Nate
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-05-10  1:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-26 19:29 Agenda clock report - show currently clocked task? Nathan Neff
2011-04-26 19:56 ` Bernt Hansen
2011-04-27 10:11   ` Sébastien Vauban
2011-04-27 20:29     ` Bernt Hansen
2011-05-09 23:41   ` Nathan Neff

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).