On Wed, Oct 07, 2015 at 02:52:24PM -0400, Nick Dokos wrote: > 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.
Forgot to mention in my earlier post, I tried that too! Something like this: (org-agenda-prefix-format '(tags " % s")) Same result. -- Suvayu Open source is the future. It sets us free.