[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Per command org-agenda-prefix-format
From: |
Suvayu Ali |
Subject: |
Re: [O] Per command org-agenda-prefix-format |
Date: |
Thu, 8 Oct 2015 00:29:49 +0200 |
User-agent: |
Mutt/1.5.23.1 (2014-03-12) |
On Wed, Oct 07, 2015 at 02:52:24PM -0400, Nick Dokos wrote:
> 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.
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.