all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Trying to separate clocked time /ranges/ from scheduled times in a clean-ish view.
@ 2014-04-24  0:47 Brady Trainor
  2014-04-24  3:09 ` Brady Trainor
  0 siblings, 1 reply; 3+ messages in thread
From: Brady Trainor @ 2014-04-24  0:47 UTC (permalink / raw)
  To: emacs-orgmode



I can't see how to get a clean view of clocked time ranges. Not just the 
length of time, but the actual start and end times. I would like to 
share my attempts to give you an idea.

If I include

     (org-agenda-start-with-log-mode '(closed clock state))

in my agenda block, then I can see them, but unfortunately I am clocking 
on items I've scheduled for myself, so they mix in and it is hard to 
read quickly. That is, I have

#+BEGIN_SRC
** example
*** circus act                                                    :routine:
**** backflips
CLOCK: [2014-04-23 Wed 07:45]--[2014-04-23 Wed 07:48] =>  0:03
SCHEDULED: <2014-04-23 Wed 07:45-07:50>
:PROPERTIES:
:Effort:   0:05
:END:
**** somersaults
SCHEDULED: <2014-04-23 Wed 07:50-08:00>
CLOCK: [2014-04-23 Wed 07:48]--[2014-04-23 Wed 07:52] =>  0:04
:PROPERTIES:
:Effort:   0:10
:END:
**** front flips
:PROPERTIES:
:Effort:   0:10
:END:
*** feed elephant                                                 :routine:
SCHEDULED: <2014-04-23 Wed 21:10-21:30>
:PROPERTIES:
:Effort:   0:20
:END:
*** tell fortune                                                  :routine:
SCHEDULED: <2014-04-23 Wed 08:00-08:20>
CLOCK: [2014-04-23 Wed 07:52]--[2014-04-23 Wed 08:10] =>  0:18
:PROPERTIES:
:Effort:   0:20
:END:
#+END_SRC

In an `agenda' block, I have tried to filter the scheduled lines out, 
and keep the clock lines, but filters seem to work before deciding to 
include the clocking, so the pair, scheduled and clocked will vanish 
together. (If I could get a view of just clock time ranges, I might use 
a sticky buffer to see one agenda block with scheduled time ranges, and 
another agenda block with clocked time ranges.)

I tried using a clock report table, but I can't see how to get the 
actual clocked time, instead of the timestamp range. Via

     (org-agenda-start-with-clockreport-mode t)

I've looked at column view as a possibility, but again, the clock time 
does not seem to be available.

I tried to use the `search' block, but did not think of a way to display 
only clock times there.

Here are the results of my best tries at an agenda view. (I found it a 
little awkward to compare clocked times to scheduled times as they are 
mixed in here.)


  _________________
/ ________________
/


Day-agenda (W17):
Wednesday  23 April 2014
   agendatest:  7:45- 7:48 Clocked:   (0:03) backflips    :routine::
   agendatest:  7:45- 7:50 Scheduled:  backflips          :routine::
   agendatest:  7:48- 7:52 Clocked:   (0:04) somersaults  :routine::
   agendatest:  7:50- 8:00 Scheduled:  somersaults        :routine::
   agendatest:  7:52- 8:10 Clocked:   (0:18) tell fortune  :routine:
   agendatest:  8:00- 8:20 Scheduled:  tell fortune        :routine:
                8:00...... ----------------
               10:00...... ----------------
               12:00...... ----------------
               14:00...... ----------------
               16:00...... ----------------
               17:15...... now - - - - - - - - - - - - - - - - - - - - -
               18:00...... ----------------
               20:00...... ----------------
   agendatest: 21:10-21:30 Scheduled:  feed elephant       :routine:
| Timestamp                  | Effort | Headline        | Time   |
|----------------------------+--------+-----------------+--------+------
| ALL                        |        | *Total time*    | *0:25* |
|----------------------------+--------+-----------------+--------+------
|                            |        | *File time*     | *0:25* |
|                            |        | circus act      | 0:07   |
| 2014-04-23 Wed 07:45-07:50 |   0:05 | \__ backflips   |        | 0:03
| 2014-04-23 Wed 07:50-08:00 |   0:10 | \__ somersaults |        | 0:04
| 2014-04-23 Wed 08:00-08:20 |   0:20 | tell fortune    | 0:18   |

=====================================================================================================================================================
Search words: CLOCK
   agendatest: backflips                                  :routine::
   agendatest: somersaults                                :routine::
   agendatest: tell fortune                                :routine:


\________________
\________________


Finally, here is my custom-command that I have been working on:

#+BEGIN_SRC emacs-lisp

(org-add-agenda-custom-command
  '("r" "routine"
    ((agenda ""
             (
              (org-clocktable-defaults
               '(
                 :timestamp t
                 :properties ("Effort")
                 :indent t
                 ))
              )
             )
     (search "CLOCK")
     )
    (
     (org-agenda-files '("/e/org/agendatest.org"))
     (org-agenda-span 'day)
     (org-agenda-start-with-clockreport-mode t)
     (org-agenda-start-with-log-mode '(closed clock state))
     (org-agenda-tag-filter-preset '("+routine"))
     )
    ))

#+END_SRC

To give a visual of what I am trying to do,


Day-agenda (W17):
Wednesday  23 April 2014
   agendatest:  7:45- 7:48 Clocked:   (0:03) backflips    :routine::
   agendatest:  7:48- 7:52 Clocked:   (0:04) somersaults  :routine::
   agendatest:  7:52- 8:10 Clocked:   (0:18) tell fortune  :routine:
                8:00...... ----------------
               10:00...... ----------------
               12:00...... ----------------
               14:00...... ----------------
               16:00...... ----------------
               17:15...... now - - - - - - - - - - - - - - - - - - - - -
               18:00...... ----------------
               20:00...... ----------------

which would be nice to compare against:

Day-agenda (W17):
Wednesday  23 April 2014
   agendatest:  7:45- 7:50 Scheduled:  backflips          :routine::
   agendatest:  7:50- 8:00 Scheduled:  somersaults        :routine::
   agendatest:  8:00- 8:20 Scheduled:  tell fortune        :routine:
                8:00...... ----------------
               10:00...... ----------------
               12:00...... ----------------
               14:00...... ----------------
               16:00...... ----------------
               17:15...... now - - - - - - - - - - - - - - - - - - - - -
               18:00...... ----------------
               20:00...... ----------------
   agendatest: 21:10-21:30 Scheduled:  feed elephant       :routine:

Maybe if I just added a face to the clocked items?

Any ideas and alternative strategies are appreciated. My system is not 
at all fixed in place.


Thank you,

Brady

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

* Re: Trying to separate clocked time /ranges/ from scheduled times in a clean-ish view.
  2014-04-24  0:47 Trying to separate clocked time /ranges/ from scheduled times in a clean-ish view Brady Trainor
@ 2014-04-24  3:09 ` Brady Trainor
  2014-04-24  7:18   ` Brady Trainor
  0 siblings, 1 reply; 3+ messages in thread
From: Brady Trainor @ 2014-04-24  3:09 UTC (permalink / raw)
  To: emacs-orgmode

On 4/23/2014 5:47 PM, Brady Trainor wrote:
>
> Day-agenda (W17):
> Wednesday  23 April 2014
>    agendatest:  7:45- 7:48 Clocked:   (0:03) backflips    :routine::
>    agendatest:  7:45- 7:50 Scheduled:  backflips          :routine::
>    agendatest:  7:48- 7:52 Clocked:   (0:04) somersaults  :routine::
>    agendatest:  7:50- 8:00 Scheduled:  somersaults        :routine::
>    agendatest:  7:52- 8:10 Clocked:   (0:18) tell fortune  :routine:
>    agendatest:  8:00- 8:20 Scheduled:  tell fortune        :routine:
>                 8:00...... ----------------
>                10:00...... ----------------


Even if I could make this a little more vertically aligned, like somehow 
entering the effort.


Day-agenda (W17):
Wednesday  23 April 2014
    agendatest:  7:45- 7:48 Clocked:   (0:03) backflips    :routine::
    agendatest:  7:45- 7:50 Scheduled: [0:05] backflips    :routine::
    agendatest:  7:48- 7:52 Clocked:   (0:04) somersaults  :routine::
    agendatest:  7:50- 8:00 Scheduled: [0:10] somersaults  :routine::
    agendatest:  7:52- 8:10 Clocked:   (0:18) tell fortune  :routine:
    agendatest:  8:00- 8:20 Scheduled: [0:20] tell fortune  :routine:
                 8:00...... ----------------
                10:00...... ----------------

could make it a bit more readable for me. (Maybe this would be made to 
only turn on with `l' in the agenda.) But my synapses are fully extended 
to get here, so I am not seeing how to do this either.


Brady

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

* Re: Trying to separate clocked time /ranges/ from scheduled times in a clean-ish view.
  2014-04-24  3:09 ` Brady Trainor
@ 2014-04-24  7:18   ` Brady Trainor
  0 siblings, 0 replies; 3+ messages in thread
From: Brady Trainor @ 2014-04-24  7:18 UTC (permalink / raw)
  To: emacs-orgmode

On 4/23/2014 8:09 PM, Brady Trainor wrote:
> On 4/23/2014 5:47 PM, Brady Trainor wrote:
>>
>> ...


I really don't think I am using it the intended way, please disregard, 
there is plenty of other functionality I can continue to discover and 
leverage to my needs.

Sorry for the noise.


Brady



(I should consider using reschedule or making time-stamp inactive, etc., 
for what I was trying to do.)

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

end of thread, other threads:[~2014-04-24  7:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-24  0:47 Trying to separate clocked time /ranges/ from scheduled times in a clean-ish view Brady Trainor
2014-04-24  3:09 ` Brady Trainor
2014-04-24  7:18   ` Brady Trainor

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.