[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Per command org-agenda-prefix-format
From: |
Suvayu Ali |
Subject: |
[O] Per command org-agenda-prefix-format |
Date: |
Wed, 7 Oct 2015 17:24:50 +0200 |
User-agent: |
Mutt/1.5.23.1 (2014-03-12) |
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-compact-blocks t)))))
With the attached Org file, the agenda buffer looks like this:
Type1
foo: TODO Item 1 :type1::
foo: TODO Item 3 :type1::
Type2
foo: TODO Item 8 :type2::
Anyone any thoughts? Actually I have wanted a view like "Timeline" for
many years for my agenda searches. Is that possible? That would be
even better.
Cheers,
--
Suvayu
Open source is the future. It sets us free.