emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Brady Trainor <algebrat@uw.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: struggle with using variable org-agenda-*-filter* properly
Date: Tue, 29 Apr 2014 13:51:40 +0200	[thread overview]
Message-ID: <87tx9cxsj7.fsf@bzg.ath.cx> (raw)
In-Reply-To: <ljmiv3$t1f$1@ger.gmane.org> (Brady Trainor's message of "Mon, 28 Apr 2014 14:58:59 -0700")

Hi Brady,

Brady Trainor <algebrat@uw.edu> writes:

>     ;; (org-agenda-regexp-filter-preset '(":STYLE:.+habit"))
>     ;; (org-agenda-tag-filter-preset '("+STYLE=\"habit\""))

Filters are applied on the headlines, not on their contents,
because they are applied *after* the agenda is generated.

That's why the first filter above will not work.

Also, "tag" in "org-agenda-tag-filter-preset" means "tag",
not a tag-and/or-property-query.  So it should be something
like this

(org-agenda-tag-filter-preset '("mytag"))

to filter a headline containing the tag "mytag".

Hope this clarifies things up,


  parent reply	other threads:[~2014-04-29 11:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-28 21:58 struggle with using variable org-agenda-*-filter* properly Brady Trainor
2014-04-28 22:17 ` Brady Trainor
2014-04-29 11:51 ` Bastien [this message]
2014-04-29 19:38   ` Brady Trainor

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:

  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=87tx9cxsj7.fsf@bzg.ath.cx \
    --to=bzg@gnu.org \
    --cc=algebrat@uw.edu \
    --cc=emacs-orgmode@gnu.org \


* 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


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