[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Custom agenda views and blocks headlines
From: |
Matthew Lundin |
Subject: |
Re: [Orgmode] Custom agenda views and blocks headlines |
Date: |
Mon, 16 Feb 2009 07:01:56 -0600 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (darwin) |
Hi Spike,
Spike Spiegel <address@hidden> 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