emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: o.rojon@posteo.net, emacs-orgmode@gnu.org
Subject: Re: Non-interactively filter the agenda using tags?
Date: Thu, 12 Nov 2020 10:23:35 +0800	[thread overview]
Message-ID: <87d00juxco.fsf@localhost> (raw)
In-Reply-To: <7b6d1334bdac95ec4d8ccb1c55e60dcd@posteo.net>

You can try org-agenda-filter-preset, though it will apply to all the
agenda view, not just (agenda ...) block.

Also, there is always org-agenda-skip-function.

Best,
Ihor

o.rojon@posteo.net writes:

> Hello everyone,
>
> I hope I'm not asking something that has been answered 100 times, I made 
> a search to ensure nothing extremely obious slipped under the radar (I 
> also asked on IRC).
>
> I know that when you are in the agenda view that displays appointments, 
> it is possible to interactively filter in order to take into account a 
> specific tag (inclusive or exclusive). However, I would like to make an 
> agenda view which does this non-interactively.
>
> Essentially, what I would love to have at my disposal is to have 
> something like the MATCH you have in (tags-todo MATCH ...) for agenda - 
> because as of yet, this seems to be impossible. I have tried to look for 
> different variables and/or functions but couldn't find anything that 
> matches.
>
> Am I overlooking something obvious? If so, feel free to point me to 
> solutions so I can do my homework properly ;-)
>
> Greetings, have a good day,
> Olivier


      parent reply	other threads:[~2020-11-12  2:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-11 14:46 Non-interactively filter the agenda using tags? o.rojon
2020-11-11 19:44 ` Justin Abrahms
2020-11-12  2:23 ` Ihor Radchenko [this message]

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=87d00juxco.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=o.rojon@posteo.net \
    /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).