From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lundin Subject: Re: Custom agenda views and blocks headlines Date: Mon, 16 Feb 2009 07:01:56 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LZ36p-0004EX-KR for emacs-orgmode@gnu.org; Mon, 16 Feb 2009 08:02:03 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LZ36o-0004E7-PI for emacs-orgmode@gnu.org; Mon, 16 Feb 2009 08:02:03 -0500 Received: from [199.232.76.173] (port=54726 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZ36o-0004E2-LO for emacs-orgmode@gnu.org; Mon, 16 Feb 2009 08:02:02 -0500 Received: from out3.smtp.messagingengine.com ([66.111.4.27]:45905) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LZ36o-0006VA-6l for emacs-orgmode@gnu.org; Mon, 16 Feb 2009 08:02:02 -0500 In-Reply-To: (Spike Spiegel's message of "Mon\, 16 Feb 2009 12\:01\:48 +0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Spike Spiegel Cc: emacs-orgmode@gnu.org Hi Spike, Spike Spiegel 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