emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How to trigger the clockcheck in an agenda view.


From: Mike McLean
Subject: Re: [O] How to trigger the clockcheck in an agenda view.
Date: Sun, 4 Aug 2013 16:32:02 -0400



On Jul 31, 2013, at 3:25 AM, Rainer Stengele <address@hidden> wrote:

> 
> 
> Am 7/29/2013 10:48 AM, schrieb Sebastien Vauban:
>> Hi Rainer Stengele,
>> 
>> Rainer Stengele wrote:
>>> Am 7/17/2013 2:07 PM, schrieb Rainer Stengele:
>>>> Am 12.07.2013 10:06, schrieb Rainer Stengele:
>>>>> 
>>>>> I want to start an aganda view over a week and immediately check the
>>>>> consistency of clock entries:
>>>>> 
>>>>> I can't seem to find a way to trigger the clockcheck in the agenda view
>>>>> options.
>>>>> 
>>>>> At the moment I have::
>>>>> 
>>>>>   ("Aw"
>>>>>    "agenda + no todos - this week - log-mode - ARCHIVE included - clock 
>>>>> report"
>>>>>    agenda ""
>>>>>    (
>>>>>     (org-agenda-sorting-strategy '(time-up priority-down))
>>>>>     (org-agenda-span 'week)
>>>>>     (org-agenda-start-with-log-mode t)
>>>>>     (org-agenda-archives-mode t)
>>>>>     (org-agenda-start-with-clockreport-mode t)
>>>>>     ))
>>>>> 
>>>>> Do I miss the variable to be set?
>>>>> 
>>>> Anybody?
>>> 
>>> I know this is special, but I do not know how to check the existence of such
>>> a variable. If it doesn't I would suggest it as enhancement.
>> 
>> The following does what you want:
>> 
>> --8<---------------cut here---------------start------------->8---
>>  (add-to-list 'org-agenda-custom-commands
>>               '("rC" "Clock Review"
>>                 agenda ""
>>                 ((org-agenda-archives-mode t)
>>                  (org-agenda-clockreport-mode t)
>>                  (org-agenda-overriding-header "Clocking Review")
>>                  (org-agenda-show-log 'clockcheck)
>>                  (org-agenda-span 'day))) t)
>> --8<---------------cut here---------------end--------------->8---
>> 
>> Best regards,
>>  Seb
>> 
>> PS- I've been on holidays and still ahve ~300 Org posts to read...
>> 
> Sebastian,
> 
> thank you for taking your precious time to consider my question!
> I replaced my configuration with exactly yours and it doesn't start with 
> showing the clockchecks (time gaps etc.).
> I have to type "v c" to activate the clockcheck.
> I run the latest org version from just 3 minutes ago.
> 
> Any idea?

Mine is almost identical to the one Sebastian posted and goes right to a clock 
check view.

(setq org-agenda-custom-commands
      (append
       org-agenda-custom-commands
       '(("c" "Clock Review"
         ((agenda ""
                  (
                   (org-agenda-overriding-header "Clocking Review")
                   (org-agenda-archives-mode t)
                   (org-agenda-span 'day)
                   (org-agenda-show-log 'clockcheck)
                   (org-agenda-clockreport-mode t)))
          )))))







reply via email to

[Prev in Thread] Current Thread [Next in Thread]