From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Agenda filter for a specific file Date: Mon, 16 Apr 2012 15:47:34 +0200 Message-ID: <80ty0jyeix.fsf@somewhere.org> References: <877gxru5bg.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Marcelo and Bernt, Bernt Hansen wrote: > Marcelo de Moraes Serpa writes: >> 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 For the sake of completeness, a third one: 3) visit the file and do a limited search with `C-c a < s', that is inserting `<' after `C-c a' to limit the search for *that* agenda command only. Best regards, Seb -- Sebastien Vauban