From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike McLean Subject: Re: How to trigger the clockcheck in an agenda view. Date: Sun, 4 Aug 2013 16:32:02 -0400 Message-ID: <2ED8360D-2866-4FA0-B1C7-35C8771979C3@pobox.com> References: <51E688F4.8090601@online.de> <51F617EF.4010600@online.de> <86siyx4uqm.fsf@somewhere.org> <51F8BBF6.2020803@online.de> Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V64yc-00064F-Os for emacs-orgmode@gnu.org; Sun, 04 Aug 2013 16:32:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V64yW-0004P2-Nr for emacs-orgmode@gnu.org; Sun, 04 Aug 2013 16:32:30 -0400 Received: from plane.gmane.org ([80.91.229.3]:41047) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V64yW-0004Oq-Bl for emacs-orgmode@gnu.org; Sun, 04 Aug 2013 16:32:24 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V64yU-0006Gp-97 for emacs-orgmode@gnu.org; Sun, 04 Aug 2013 22:32:22 +0200 In-Reply-To: <51F8BBF6.2020803@online.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rainer Stengele Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org, Sebastien Vauban On Jul 31, 2013, at 3:25 AM, Rainer Stengele = wrote: >=20 >=20 > Am 7/29/2013 10:48 AM, schrieb Sebastien Vauban: >> Hi Rainer Stengele, >>=20 >> Rainer Stengele wrote: >>> Am 7/17/2013 2:07 PM, schrieb Rainer Stengele: >>>> Am 12.07.2013 10:06, schrieb Rainer Stengele: >>>>>=20 >>>>> I want to start an aganda view over a week and immediately check = the >>>>> consistency of clock entries: >>>>>=20 >>>>> I can't seem to find a way to trigger the clockcheck in the agenda = view >>>>> options. >>>>>=20 >>>>> At the moment I have:: >>>>>=20 >>>>> ("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) >>>>> )) >>>>>=20 >>>>> Do I miss the variable to be set? >>>>>=20 >>>> Anybody? >>>=20 >>> 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. >>=20 >> The following does what you want: >>=20 >> --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--- >>=20 >> Best regards, >> Seb >>=20 >> PS- I've been on holidays and still ahve ~300 Org posts to read... >>=20 > Sebastian, >=20 > 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. >=20 > 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))) )))))