all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: "Tory S. Anderson" <tory_anderson@byu.edu>
Cc: Pedro <pinmacs@cas.cat>, emacs-orgmode@gnu.org
Subject: Re: After years without issues, Orgmode now fails to apply agenda filters to preset templates
Date: Thu, 30 May 2024 16:29:45 +0000	[thread overview]
Message-ID: <87r0dj6z5y.fsf@localhost> (raw)
In-Reply-To: <875xuv5l9q.fsf@byu.edu>

"Tory S. Anderson" <tory_anderson@byu.edu> writes:

> ... I will rethink my setup to use those things. Thanks for your response!

You do not need to rethink your setup. Just move the filter to global
settings. It is how it is supposed to be used.

(org-agenda-custom-commands
 '(("w" . "Work")
   ("wd" "Work Day"
    ((agenda ""
	     ((org-agenda-span 1)
	      (org-agenda-start-on-weekday nil))))
    ;; Filter applies globally to the whole view.
    ((org-agenda-regexp-filter-preset
      '("+ODH\\|AGENDA\\|CONFERENCE" "-TSA\\|PRIESTHOOD"))))))

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


      reply	other threads:[~2024-05-30 16:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-25 19:08 After years without issues, Orgmode now fails to apply agenda filters to preset templates Tory S. Anderson
2024-05-25 19:26 ` Ihor Radchenko
2024-05-30 11:17   ` Pedro
2024-05-30 16:15     ` Tory S. Anderson
2024-05-30 16:29       ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r0dj6z5y.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=pinmacs@cas.cat \
    --cc=tory_anderson@byu.edu \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.