From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Custom agenda views and blocks headlines Date: Tue, 17 Feb 2009 21:54:51 +0100 Message-ID: <0B563AEA-3C7A-4C7A-908D-28F12A8C369C@uva.nl> References: Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LZWy2-0005Ri-8g for emacs-orgmode@gnu.org; Tue, 17 Feb 2009 15:54:58 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LZWy0-0005RW-Sz for emacs-orgmode@gnu.org; Tue, 17 Feb 2009 15:54:57 -0500 Received: from [199.232.76.173] (port=47049 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZWy0-0005RT-Mw for emacs-orgmode@gnu.org; Tue, 17 Feb 2009 15:54:56 -0500 Received: from ey-out-1920.google.com ([74.125.78.150]:13444) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LZWy0-0008BG-4z for emacs-orgmode@gnu.org; Tue, 17 Feb 2009 15:54:56 -0500 Received: by ey-out-1920.google.com with SMTP id 4so242827eyg.24 for ; Tue, 17 Feb 2009 12:54:55 -0800 (PST) In-Reply-To: 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: Matthew Lundin Cc: emacs-orgmode@gnu.org On Feb 16, 2009, at 2:01 PM, Matthew Lundin wrote: > > 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, I have now added org-agenda-overriding-header as one an option in the menu in customize. - Carsten