From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Exclude tag from custom agenda Date: Fri, 7 Dec 2012 18:24:50 +0100 Message-ID: <2012-12-07T18-18-52@devnull.Karl-Voit.at> Reply-To: news1142@Karl-Voit.at Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41484) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Th1fn-0007QD-2K for emacs-orgmode@gnu.org; Fri, 07 Dec 2012 12:25:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Th1ff-0003zI-5K for emacs-orgmode@gnu.org; Fri, 07 Dec 2012 12:25:15 -0500 Received: from plane.gmane.org ([80.91.229.3]:48785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Th1fe-0003xj-VD for emacs-orgmode@gnu.org; Fri, 07 Dec 2012 12:25:07 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Th1fo-0006Gk-Q8 for emacs-orgmode@gnu.org; Fri, 07 Dec 2012 18:25:16 +0100 Received: from mail.michael-prokop.at ([88.198.6.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Dec 2012 18:25:16 +0100 Received: from news1142 by mail.michael-prokop.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Dec 2012 18:25:16 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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