From: Matthew Lundin <mdl@imapmail.org>
To: Spike Spiegel <fsmlab@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Custom agenda views and blocks headlines
Date: Mon, 16 Feb 2009 07:01:56 -0600 [thread overview]
Message-ID: <m28wo6358b.fsf@fastmail.fm> (raw)
In-Reply-To: <ab777dfe0902152001p764a8efcq34b27d5cebde422c@mail.gmail.com> (Spike Spiegel's message of "Mon\, 16 Feb 2009 12\:01\:48 +0800")
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
next prev parent reply other threads:[~2009-02-16 13:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-16 4:01 Custom agenda views and blocks headlines Spike Spiegel
2009-02-16 13:01 ` Matthew Lundin [this message]
2009-02-17 20:54 ` Carsten Dominik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m28wo6358b.fsf@fastmail.fm \
--to=mdl@imapmail.org \
--cc=emacs-orgmode@gnu.org \
--cc=fsmlab@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public 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).