From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: exclude certain types from agenda Date: Fri, 30 Oct 2009 13:19:19 -0400 Message-ID: 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 1N3v8K-0007XC-EA for emacs-orgmode@gnu.org; Fri, 30 Oct 2009 13:19:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N3v8F-0007QU-9t for emacs-orgmode@gnu.org; Fri, 30 Oct 2009 13:19:27 -0400 Received: from [199.232.76.173] (port=36857 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N3v8F-0007QA-1U for emacs-orgmode@gnu.org; Fri, 30 Oct 2009 13:19:23 -0400 Received: from out4.smtp.messagingengine.com ([66.111.4.28]:53843) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N3v8E-0005u7-PO for emacs-orgmode@gnu.org; Fri, 30 Oct 2009 13:19:22 -0400 In-Reply-To: (Richard Riley's message of "Fri, 30 Oct 2009 14:52:03 +0100") 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: Richard Riley Cc: emacs-orgmode@gnu.org 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