emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Richard Lawrence <richard.lawrence@berkeley.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: Agenda filtering
Date: Mon, 03 Jul 2017 06:12:41 +0200	[thread overview]
Message-ID: <871spy3rut.fsf@bzg.fr> (raw)
In-Reply-To: 87h98194od.fsf@aquinas.i-did-not-set--mail-host-address--so-tickle-me

Hi Richard,

Richard Lawrence <richard.lawrence@berkeley.edu> writes:

> Is there a simple way for me to say to the agenda, "Show me all (and
> only) the NEXT tasks that are part of a project whose deadline is before
> (say) 2016-11-01"?  It seems like this should be possible with the
> built-in agenda but I can't quite figure it out.  The tricky thing is
> filtering by the deadline of the parent project, which might be several
> levels up.

I would add a category to each project, then use something along this:

("N" "My important tasks" tags-todo
 "CATEGORY={cat1\\|cat2}+TODO={NEXT}+DEADLINE<=\"<+3d>\"")

HTH,

-- 
 Bastien

  reply	other threads:[~2017-07-03  7:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-24 14:56 Agenda filtering Richard Lawrence
2017-07-03  4:12 ` Bastien [this message]
2017-10-02 20:58   ` Agenda filtering (take 2) Richard Lawrence
2017-10-04 18:37     ` Narendra Joshi

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=871spy3rut.fsf@bzg.fr \
    --to=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=richard.lawrence@berkeley.edu \
    /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).