Suvayu Ali <fatkasuvayu+li...@gmail.com> writes:

> Hi,
>
> I wanted to prefix the results of a tags-todo agenda command with
> scheduling information.  But I can't seem to figure out the correct way
> to do this.  This is what I tried:
>
> (setq org-agenda-custom-commands
>       '(("J" "Type1/Type2"
>          ((tags-todo "CATEGORY=\"foo\"+type1"
>                    ((org-agenda-overriding-header "Type1")))
>           (tags-todo "CATEGORY=\"foo\"+type2"
>                    ((org-agenda-overriding-header "Type2"))))
>          ((org-agenda-files (list "~/tmp/org/tasks.org"))
>           (org-agenda-prefix-format "  % s")

org-agenda-prefix-format is an alist, not a string.

Nick


Reply via email to