emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Rene <jlr_0@yahoo.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to filter on files
Date: Fri, 15 Nov 2013 17:01:43 +0100	[thread overview]
Message-ID: <878uwp7ixk.fsf@bzg.ath.cx> (raw)
In-Reply-To: <loom.20131115T153533-580@post.gmane.org> (Rene's message of "Fri, 15 Nov 2013 14:47:19 +0000 (UTC)")

Hi Rene,

Rene <jlr_0@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.
 
> 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.

Hope this helps,

-- 
 Bastien

  reply	other threads:[~2013-11-15 16:02 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 [this message]
2013-11-15 20:33       ` Rene
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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=878uwp7ixk.fsf@bzg.ath.cx \
    --to=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=jlr_0@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).