emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: public-emacs-orgmode-mXXj517/zsQ-wOFGN7rlS/M9smdsby/KFg@public.gmane.org
Subject: [BUG] Re: Troubles with custom agenda commands
Date: Wed, 11 Sep 2013 13:04:29 +0200	[thread overview]
Message-ID: <86txhraabm.fsf_-_@somewhere.org> (raw)
In-Reply-To: <804nmt95wa.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org> (Sebastien Vauban's message of "Wed, 19 Sep 2012 21:20:05 +0200")




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

-- 
Sebastien Vauban

  parent reply	other threads:[~2013-09-11 11:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-13 12:02 Troubles with custom agenda commands Sebastien Vauban
2012-09-18  7:10 ` Bastien
2012-09-19 19:20   ` Sebastien Vauban
     [not found]     ` <804nmt95wa.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org>
2013-09-11 11:04       ` Sebastien Vauban [this message]
2013-09-11 11:19         ` [BUG] " Sebastien Vauban

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86txhraabm.fsf_-_@somewhere.org \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=public-emacs-orgmode-mXXj517/zsQ-wOFGN7rlS/M9smdsby/KFg@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).