From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Riley Subject: Re: exclude certain types from agenda Date: Fri, 30 Oct 2009 20:06:01 +0100 Message-ID: <4aeb391b.0c58560a.608a.ffffd1a2@mx.google.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N3wna-00067A-5L for emacs-orgmode@gnu.org; Fri, 30 Oct 2009 15:06:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N3wnY-00066m-IQ for emacs-orgmode@gnu.org; Fri, 30 Oct 2009 15:06:09 -0400 Received: from [199.232.76.173] (port=59356 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N3wnY-00066j-DG for emacs-orgmode@gnu.org; Fri, 30 Oct 2009 15:06:08 -0400 Received: from fg-out-1718.google.com ([72.14.220.156]:3901) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N3wnW-00062O-IS for emacs-orgmode@gnu.org; Fri, 30 Oct 2009 15:06:07 -0400 Received: by fg-out-1718.google.com with SMTP id 16so850445fgg.12 for ; Fri, 30 Oct 2009 12:06:04 -0700 (PDT) In-Reply-To: (Matt Lundin's message of "Fri, 30 Oct 2009 13:19:19 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Matt Lundin Cc: Richard Riley , emacs-orgmode@gnu.org Matt Lundin writes: > Richard Riley writes: > >> Is it possible to exclude certain tags from the normal agenda? >> (org-agenda a). >> >> I have vocab org items to learn (tagged VOCAB) but only want to see them from a >> specially selected agenda tags "v" view : not from the "normal" >> agenda. > > Two options: > > 1) > > (setq org-agenda-filter-preset '("-VOCAB")) > > 2) > > (setq org-agenda-skip-function > '(org-agenda-skip-entry-if 'regexp ":VOCAB:")) > > Either of these should work. Note: they will apply to all of your agenda > views. I.e., you'll have to adjust the local setting of the variable > appropriately in your custom agenda commands if you want to see :VOCAB: > items in a particular view. > > Best, > Matt > Oh, very good, thanks a lot. My agenda command is now: ,---- | ("v" "Vocab" tags "VOCAB" ((org-agenda-filter-preset '("+VOCAB"))(org-agenda-todo-ignore-with-date nil))) `---- and the "global" agenda filter preset is ,---- | (setq org-agenda-filter-preset '("-VOCAB")) `---- regards, r.