From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: [BUG] Re: Troubles with custom agenda commands Date: Wed, 11 Sep 2013 13:04:29 +0200 Message-ID: <86txhraabm.fsf_-_@somewhere.org> References: <80bohaf7w6.fsf@somewhere.org> <87haqv8w5d.fsf@bzg.ath.cx> <804nmt95wa.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <804nmt95wa.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org> (Sebastien Vauban's message of "Wed, 19 Sep 2012 21:20:05 +0200") 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: public-emacs-orgmode-mXXj517/zsQ-wOFGN7rlS/M9smdsby/KFg@public.gmane.org Hi Bastien, "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"): --8<---------------cut here---------------start------------->8--- (add-to-list 'org-agenda-custom-commands '("C" "Clock Review" ((agenda "" ((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--- Org writes: --8<---------------cut here---------------start------------->8--- C Clock Review : set of 2 commands n Agenda and all TODO's: set of 2 commands --8<---------------cut here---------------end--------------->8--- while there is only 1 command to be run (the agenda view)!? Note, surprisingly, 2 extra spaces before the ":", while they're not in the customized header string... Best regards, Seb --=20 Sebastien Vauban