emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rene <jlr_0@yahoo.com>
To: emacs-orgmode@gnu.org
Subject: Re: How to filter on files
Date: Fri, 15 Nov 2013 20:33:00 +0000 (UTC)	[thread overview]
Message-ID: <loom.20131115T212128-514@post.gmane.org> (raw)
In-Reply-To: 878uwp7ixk.fsf@bzg.ath.cx

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	other threads:[~2013-11-15 20:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-15  9:26 org-agenda-category-filter-preset Rene
2013-11-15  9:38 ` org-agenda-category-filter-preset Bastien
2013-11-15 14:47   ` How to filter on files Rene
2013-11-15 16:01     ` Bastien
2013-11-15 20:33       ` Rene [this message]
2013-11-15 20:43         ` Bastien
2013-11-18 13:00           ` Rene
2013-11-18 13:55             ` Eric Abrahamsen
2013-11-18 20:24               ` Rene
2013-11-18 16:19             ` Michael Brand
2013-11-18 20:11               ` Rene

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20131115T212128-514@post.gmane.org \
    --to=jlr_0@yahoo.com \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).