From: Neilen Marais <nmarais@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Custom agenda: tasks scheduled today or earlier and tags
Date: Fri, 7 Oct 2011 08:41:14 +0000 (UTC) [thread overview]
Message-ID: <loom.20111007T103208-814@post.gmane.org> (raw)
Hi,
I would like to make a custom agenda that
1) filters based on tags
then
2) filters on TODO status
then
3a) shows all un-scheduled tasks
3b) shows all tasks scheduled for today or earlier
I am doing this to implement a kind of "tickler" file for GTD. Currently I have
custom agenda that does 1) and 2):
("c" "Context Next Tasks"
tags-todo ("@context1|@contex2")
((org-agenda-skip-function '(org-agenda-skip-entry-if
'nottodo '("NEXT")))
(org-agenda-sorting-strategy '(tag-up))
(org-agenda-overriding-header "Context Next Tasks")
))
I tried defining a lambda around the org-agenda-skip-entry-if to combine logical
conditions and also tried to figure out how to find out if the schedule date is
today or earlier, but my rather weak elisp-foo let me down. Anyone done
something similar?
Thanks
Neilen
reply other threads:[~2011-10-07 8:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=loom.20111007T103208-814@post.gmane.org \
--to=nmarais@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).