[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How to filter on files

From: Rene
Subject: Re: [O] How to filter on files
Date: Fri, 15 Nov 2013 20:33:00 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Bastien <bzg <at> gnu.org> writes:

> Rene <jlr_0 <at> yahoo.com> writes:
> > But once in a while I'd like to dynamically narrow down my list of agenda
> > entries to either one of these files.  I tried to play with
> > org-agenda-filter-by-tag or org-agenda-filter-by-category but to no
> > avail.
> Use a #+CATEGORY: property on top of each file, then use < in the
> agenda to filter by the category the cursor is on.

I do already have first level headlines each with its own CATEGORY in which
I refile my tasks.  Therefore the #+CATEGORY: property on top of the file
does not appear in the agenda view unfortunately.

> > Is there some kind of "org-agenda-filter-by-file" piece of code
> > somewhere?
> No, but you can have a category per file and filter per category,
> which does the same.  Always, you can narrow down the scope of the
> agenda *before* creating the agenda, with C-c a < [yourkey] -- the
> < means to narrow down to the current buffer.

It does work.  Thanks.

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]