From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: How to filter on files Date: Mon, 18 Nov 2013 20:55:52 +0700 Message-ID: <87bo1hu847.fsf@ericabrahamsen.net> References: <87bo1mqa1v.fsf@bzg.ath.cx> <878uwp7ixk.fsf@bzg.ath.cx> <87y54p1jmv.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViPHj-0006JM-Mu for emacs-orgmode@gnu.org; Mon, 18 Nov 2013 08:54:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ViPHd-0001a2-4N for emacs-orgmode@gnu.org; Mon, 18 Nov 2013 08:54:39 -0500 Received: from plane.gmane.org ([80.91.229.3]:57922) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViPHc-0001Zw-Tl for emacs-orgmode@gnu.org; Mon, 18 Nov 2013 08:54:33 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ViPHa-0001zr-3i for emacs-orgmode@gnu.org; Mon, 18 Nov 2013 14:54:30 +0100 Received: from 223.204.249.98 ([223.204.249.98]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Nov 2013 14:54:30 +0100 Received: from eric by 223.204.249.98 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Nov 2013 14:54:30 +0100 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: emacs-orgmode@gnu.org Rene writes: > Bastien gnu.org> writes: > >> Rene yahoo.com> writes: >> >> > I'd have loved though to be able to switch from one view (home+office view) >> > to another (office view) without having to reconstruct the whole >> > agenda. >> >> Maybe the `org-agenda-sticky' option can help there? > > Well. Not exactly. > > Wouldn't I be able to work something out with org-agenda-category-filter-preset? > > I don't know how to make this work though. > > Is there some config example out there? It's a little hard to know what's wrong with org-agenda-sticky, but a tag-based way of doing this would be to use a #+FILETAGS: line at the top of each of your files. That automatically adds any tag in that line to the whole file, so you can de-facto filter by files.