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: Sebastien Vauban
Subject: Re: [O] How to trigger the clockcheck in an agenda view.
Date: Mon, 29 Jul 2013 10:48:33 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (windows-nt)

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

-- 
Sebastien Vauban




reply via email to

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