From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Agenda filter for a specific file Date: Sat, 07 Apr 2012 07:52:51 -0400 Message-ID: <877gxru5bg.fsf@norang.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGUCW-0002hi-QC for emacs-orgmode@gnu.org; Sat, 07 Apr 2012 07:53:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SGUCU-0006PO-Sx for emacs-orgmode@gnu.org; Sat, 07 Apr 2012 07:53:04 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:50766) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGUCU-0006Ox-Q3 for emacs-orgmode@gnu.org; Sat, 07 Apr 2012 07:53:02 -0400 In-Reply-To: (Marcelo de Moraes Serpa's message of "Sat, 7 Apr 2012 00:53:48 -0500") 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: Marcelo de Moraes Serpa Cc: Org Mode Marcelo de Moraes Serpa writes: > Hi guys, > > Is there a way to define an agenda filter that will search in only one of the agenda files? The > reason I do that is because although I have several files added to the agenda, only one contains > "actionable items" (gtd.org). There are multiple ways to do this. 1) visit the file and restrict agenda view to the file with C-u C-c C-x < 2) set org-agenda-files for some custom-agenda-command just to use this one file 1) also restricts search results with C-c C-a / which may not be what you want HTH, Bernt