emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ken Mankoff <mankoff@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Filtering Agenda View
Date: Wed, 5 Sep 2012 11:50:30 -0700	[thread overview]
Message-ID: <CAFdBzEpncc4ni+U7P1s_5qYc3OLCYuVJ74nKo2CV1N3JVcZr+w@mail.gmail.com> (raw)

I'd like my agenda to not show waiting items. I'm not sure of the best
way to implement this, but my current solution has been:

		  (agenda "" (
					  (org-agenda-overriding-header "Scheduled")
					  (org-agenda-skip-function '(org-agenda-skip-entry-if 'regexp"WAITING"))
					  ))


However, this is too restrictive (too loose a filter). It skips TODO
items that are in state TODO but have recorded, somewhere in their
body, the word WAITING such as

   - State "WAITING"    from "TODO"       [2012-09-03 Mon 11:45]

I tried setting the regexp to "\ WAITING\ " but that did not fix it.

How can I improve the regexp, or is there a better way to show TODO
items that are TODO, STARTED, WHATEVER, but not WAITING (or not
WAITING and SOMETHINGELSE).

Thanks,

  -k.

             reply	other threads:[~2012-09-05 18:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-05 18:50 Ken Mankoff [this message]
2012-09-06 16:27 ` Filtering Agenda View Memnon Anon
2012-09-08 15:22   ` Ken Mankoff
2012-09-09 12:04 ` Bernt Hansen
2012-09-10  0:18   ` Bernt Hansen

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=CAFdBzEpncc4ni+U7P1s_5qYc3OLCYuVJ74nKo2CV1N3JVcZr+w@mail.gmail.com \
    --to=mankoff@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).