Hi, I heavily use the custom agenda blocks view and found myself to desire more and more to be able to set the headline for the block so instead of seeing say "Headlines with TAGS match: +CATEGORY="WrkPrj"+TODO="TODO"" I can see "Work Projects Todos". With a few blocks it'd make the screen more readable, but most importantly would help with the exported file. thanks -- "Behind every great man there's a great backpack" - B.
Hi Spike,
Spike Spiegel <fsmlab@gmail.com> writes:
> Hi,
>
> I heavily use the custom agenda blocks view and found myself to desire
> more and more to be able to set the headline for the block so instead
> of seeing say "Headlines with TAGS match:
> +CATEGORY="WrkPrj"+TODO="TODO"" I can see "Work Projects Todos". With
> a few blocks it'd make the screen more readable, but most importantly
> would help with the exported file.
You can use the variable org-agenda-overriding-header:
--8<---------------cut here---------------start------------->8---
(setq org-agenda-custom-commands
'(("B" "Block Agenda"
((todo "+CATEGORY=\"WrkPrj\"+TODO=\"TODO\""
((org-agenda-overriding-header "Work Projects Todos")))
;; more here, of course
))))
--8<---------------cut here---------------end--------------->8---
Hope this helps,
Matt
On Feb 16, 2009, at 2:01 PM, Matthew Lundin wrote:
>
> Hi Spike,
>
> Spike Spiegel <fsmlab@gmail.com> writes:
>
>> Hi,
>>
>> I heavily use the custom agenda blocks view and found myself to
>> desire
>> more and more to be able to set the headline for the block so instead
>> of seeing say "Headlines with TAGS match:
>> +CATEGORY="WrkPrj"+TODO="TODO"" I can see "Work Projects Todos". With
>> a few blocks it'd make the screen more readable, but most importantly
>> would help with the exported file.
>
> You can use the variable org-agenda-overriding-header:
>
> --8<---------------cut here---------------start------------->8---
> (setq org-agenda-custom-commands
> '(("B" "Block Agenda"
> ((todo "+CATEGORY=\"WrkPrj\"+TODO=\"TODO\""
> ((org-agenda-overriding-header "Work Projects Todos")))
> ;; more here, of course
> ))))
> --8<---------------cut here---------------end--------------->8---
>
> Hope this helps,
I have now added org-agenda-overriding-header as one
an option in the menu in customize.
- Carsten