* Memnon Anon <gegendosenflei...@googlemail.com> wrote: > Karl Voit <devn...@karl-voit.at> writes: > >> What I want to achieve: on top, there should be my normal agenda >> (events, tasks, habits, ...) but minus elements tagged with >> "reward". > > #+begin_src emacs-lisp > ;;; Based on http://article.gmane.org/gmane.emacs.orgmode/41427 > (defun my-skip-tag(tag) > "Skip entries that are tagged TAG" > (let* ((entry-tags (org-get-tags-at (point)))) > (if (member tag entry-tags) > (progn (outline-next-heading) (point)) > nil))) > #+end_src > > #+begin_src emacs-lisp > (agenda "" > ((org-agenda-skip-function '(my-skip-tag"reward")) > (org-agenda-overriding-header "Agenda (without rewards: "))))) > #+end_src > > That should do it. > Please give it a try :)
Awesome! Works great! Now I only need the "DONE today" section and a much faster CPU core to generate my uber-agenda :-) Thanks for your help! -- Karl Voit