From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Filtering Agenda View Date: Wed, 5 Sep 2012 11:50:30 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56397) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9KgO-0006h9-H5 for emacs-orgmode@gnu.org; Wed, 05 Sep 2012 14:50:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9KgJ-0007x9-Pc for emacs-orgmode@gnu.org; Wed, 05 Sep 2012 14:50:36 -0400 Received: from mail-ie0-f169.google.com ([209.85.223.169]:51949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9KgJ-0007wA-DD for emacs-orgmode@gnu.org; Wed, 05 Sep 2012 14:50:31 -0400 Received: by iec9 with SMTP id 9so1936215iec.0 for ; Wed, 05 Sep 2012 11:50:30 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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.