emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Exclude tag from custom agenda
@ 2012-12-07 17:24 Karl Voit
  2012-12-07 20:56 ` Custom Agenda (was: Exclude tag from custom agenda) Karl Voit
  2012-12-09 15:59 ` Exclude tag from custom agenda Memnon Anon
  0 siblings, 2 replies; 6+ messages in thread
From: Karl Voit @ 2012-12-07 17:24 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

I very much like the agenda customization from [1] and I would like
to adopt it for my needs.

What I want to achieve: on top, there should be my normal agenda
(events, tasks, habits, ...) but minus elements tagged with
"reward".

Below, there should be a "section" with all reward-tasks (excluded
are future ones) and so forth.

,----
| (setq org-agenda-custom-commands
|       (quote (
|           ;; http://doc.norang.ca/org-mode.html#CustomAgendaViews
|               ("o" "overview Agenda"
|                ((agenda "" nil)
|                 (tags-todo "+reward"
|                 (org-agenda-overriding-header "Rewards")
|                )
|                 (tags-todo "-CANCELLED/!"
|                            ((org-agenda-overriding-header "Stuck Projects")
|                             (org-agenda-skip-function 'bh/skip-non-stuck-projects)))
|                 (tags-todo "-CANCELLED+WAITING/!"
|                            ((org-agenda-overriding-header "Waiting and Postponed Tasks")
|                             (org-agenda-skip-function 'bh/skip-stuck-projects)
|                             (org-tags-match-list-sublevels nil)
|                             (org-agenda-todo-ignore-scheduled 'future)
|                             (org-agenda-todo-ignore-deadlines 'future)
|                 ))
|         )
|                nil)
|
| )))
`----

Above snippet works but shows my usual agenda including items tagged
with "reward".

I think, that «(agenda "" nil)» has to be modified but I don't know
how.

Can you help me?

  1. http://doc.norang.ca/org-mode.html#CustomAgendaViews
-- 
Karl Voit

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

end of thread, other threads:[~2012-12-09 21:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-07 17:24 Exclude tag from custom agenda Karl Voit
2012-12-07 20:56 ` Custom Agenda (was: Exclude tag from custom agenda) Karl Voit
2012-12-09 15:59 ` Exclude tag from custom agenda Memnon Anon
2012-12-09 21:02   ` Karl Voit
2012-12-09 21:04     ` Karl Voit
2012-12-09 21:31   ` Karl Voit

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).