[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Per command org-agenda-prefix-format
From: |
Nick Dokos |
Subject: |
Re: [O] Per command org-agenda-prefix-format |
Date: |
Wed, 07 Oct 2015 14:52:24 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Suvayu Ali <address@hidden> 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