From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: [BUG] Re: Troubles with custom agenda commands Date: Wed, 11 Sep 2013 13:19:30 +0200 Message-ID: <86fvtba9ml.fsf@somewhere.org> References: <80bohaf7w6.fsf@somewhere.org> <87haqv8w5d.fsf@bzg.ath.cx> <804nmt95wa.fsf@somewhere.org> <86txhraabm.fsf_-_@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Bastien, "Sebastien Vauban" wrote: > "Sebastien Vauban" wrote: >> Bastien wrote: >>> "Sebastien Vauban" writes: >>> >>>> When getting to the agenda dispatcher (`C-c a'), I see: >>>> >>>> S Summary Review: set of 3 commands >>>> >>>> while I only have... 2 commands (`agenda' and `todo'). Why? >>> >>> This is a bug, fixed. Thanks for spotting this! >> >> Tested. Confirmed OK. > > The above problem is back with the following configuration (tested with > "emacs=C2=A0-Q"): > > (add-to-list 'org-agenda-custom-commands > '("C" "Clock Review" > ((agenda "" > ((org-agenda-clockreport-mode t) > (org-agenda-overriding-header "Clocking Revi= ew") > (org-agenda-show-log 'clockcheck) > (org-agenda-span 'day))) t))) > > Org writes: > > C Clock Review : set of 2 commands > n Agenda and all TODO's: set of 2 commands > > while there is only 1 command to be run (the agenda view)!? Please IGNORE IT! This "bug" is due to a faulty placement of the parenthes= is. It should have been: > (add-to-list 'org-agenda-custom-commands > '("C" "Clock Review" > ((agenda "" > ((org-agenda-clockreport-mode t) > (org-agenda-overriding-header "Clocking Revi= ew") > (org-agenda-show-log 'clockcheck) > (org-agenda-span 'day))))) t) ^^ Sorry for this false alarm. > Note, surprisingly, 2 extra spaces before the ":", while they're not in t= he > customized header string... Best regards, Seb --=20 Sebastien Vauban