emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Justin Abrahms <justin@abrah.ms>
To: emacs-orgmode@gnu.org
Subject: Re: Non-interactively filter the agenda using tags?
Date: Wed, 11 Nov 2020 11:44:17 -0800	[thread overview]
Message-ID: <86sg9f65m6.fsf@abrah.ms> (raw)
In-Reply-To: <7b6d1334bdac95ec4d8ccb1c55e60dcd@posteo.net>


I think you're looking for org-super-agenda[0]. This is how I'm using it
in my own emacs config.

```
(use-package org-super-agenda
  :init (setq org-super-agenda-groups
              '(
                (:priority "A" :name "High priority")
                (:auto-property "WAITING_ON" :log t)

                ;; by project (more specific first)
                (:name "mobile opex" :tag "mobile")
                (:name "glass" :tag "glass")
                (:name "opex" :tag "opex")
                (:name "writing" :tag "writing")

                ;; normal priority
                (:name "Misc" :not (:priority "A"))))
  :config (org-super-agenda-mode 1))
```

[0]: https://github.com/alphapapa/org-super-agenda

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



  reply	other threads:[~2020-11-11 19:45 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 [this message]
2020-11-12  2:23 ` Ihor Radchenko

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=86sg9f65m6.fsf@abrah.ms \
    --to=justin@abrah.ms \
    --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).