emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Agenda filter on tags
@ 2013-11-26  8:48 Fredrik
  2013-11-26 10:10 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Fredrik @ 2013-11-26  8:48 UTC (permalink / raw)
  To: emacs-orgmode

I'm looking for a way to set a filter for an agenda. I want to use a 
logical filter like : this+todo="THAT"|foo+todo="BAR" when displaying 
tasks scheduled for today.
Is there any ways to set filters like this for a custom agenda? Or is it 
anyway to add filters like this when viewing an agenda?

Regards,

Fredrik

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Agenda filter on tags
  2013-11-26  8:48 Agenda filter on tags Fredrik
@ 2013-11-26 10:10 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2013-11-26 10:10 UTC (permalink / raw)
  To: Fredrik; +Cc: emacs-orgmode

Hi Fredrik,

Fredrik <fredrik@jumans.net> writes:

> I'm looking for a way to set a filter for an agenda. I want to use a
> logical filter like : this+todo="THAT"|foo+todo="BAR" when displaying
> tasks scheduled for today.

You can't.

> Is there any ways to set filters like this for a custom agenda? Or is
> it anyway to add filters like this when viewing an agenda?

No.

You can set tag filters and regexp filters independently with

  org-agenda-tag-filter-preset
  org-agenda-regexp-filter-preset

But you cannot have TODO keywords filters and combine filters
logically into one single filter.

My suggestion would be to define a new agenda custom command:
filters are mainly meant for interactive use rather than for
predefined agenda views.

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-26 10:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-26  8:48 Agenda filter on tags Fredrik
2013-11-26 10:10 ` Bastien

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