emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Custom agenda views and blocks headlines
@ 2009-02-16  4:01 Spike Spiegel
  2009-02-16 13:01 ` Matthew Lundin
  0 siblings, 1 reply; 3+ messages in thread
From: Spike Spiegel @ 2009-02-16  4:01 UTC (permalink / raw)
  To: emacs-orgmode

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Custom agenda views and blocks headlines
  2009-02-16  4:01 Custom agenda views and blocks headlines Spike Spiegel
@ 2009-02-16 13:01 ` Matthew Lundin
  2009-02-17 20:54   ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Matthew Lundin @ 2009-02-16 13:01 UTC (permalink / raw)
  To: Spike Spiegel; +Cc: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Custom agenda views and blocks headlines
  2009-02-16 13:01 ` Matthew Lundin
@ 2009-02-17 20:54   ` Carsten Dominik
  0 siblings, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2009-02-17 20:54 UTC (permalink / raw)
  To: Matthew Lundin; +Cc: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-02-17 20:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-16  4:01 Custom agenda views and blocks headlines Spike Spiegel
2009-02-16 13:01 ` Matthew Lundin
2009-02-17 20:54   ` Carsten Dominik

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).