From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Exclude some file to be in the agenda Date: Thu, 08 Jul 2010 12:15:08 -0400 Message-ID: <87lj9mhrw3.fsf@gollum.intra.norang.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=42321 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWtxu-0005u3-Dn for emacs-orgmode@gnu.org; Thu, 08 Jul 2010 12:28:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OWtku-0000eJ-Rh for emacs-orgmode@gnu.org; Thu, 08 Jul 2010 12:15:26 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:50637) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWtku-0000cx-PY for emacs-orgmode@gnu.org; Thu, 08 Jul 2010 12:15:20 -0400 In-Reply-To: (Chao Lu's message of "Thu\, 8 Jul 2010 10\:48\:47 -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: Chao Lu Cc: emacs-orgmode@gnu.org Chao Lu writes: > The way I set the org agenda file is using all the *.org file in some > dir. Like (setq org-agenda-files (file-expand-wildcards > "~/.emacs.d/org/org/*.org")) > > But is it possible to exclude certain file to show up in the agenda? > Sometime this will be handy. Add a #+FILETAGS: sometag to that file and then remove those tagged entries from the agenda with / - TAB sometag RET You might want to look into persistent tag filter settings for this as well C-h v org-agenda-persistent-filter HTH, Bernt