From: "João O'Neill Cortes" <joaooneillcortes@outlook.pt>
To: emacs-orgmode@gnu.org
Subject: org-agenda-skip-function not honored by 'tags-tree' custom agenda view
Date: Mon, 14 Aug 2023 21:45:39 +0100 [thread overview]
Message-ID: <PAXP193MB1422AC9BD798DD4E1E93418BA317A@PAXP193MB1422.EURP193.PROD.OUTLOOK.COM> (raw)
Tested with org-mode version 9.7-pre.
Looking at section 'A.7 Special Agenda Views' of the info org-manual.
It is stated that 'tags-tree' searches can set
'org-agenda-skip-function' to some function that decides on the
visibilty of each match. For what I gathered, by setting up something
like this,
(org-add-agenda-custom-command
'("b" tags-tree "some-tag"
((org-agenda-skip-function 'my-skip-function)
)))
, and then calling 'org-agenda' and selecting the 'b' entry.
It does not work, and 'my-skip-function' never fires after the request
is made. It works for some types of special agenda views though, like
'todo', but not with 'tags-tree'.
Is this a bug?
next reply other threads:[~2023-08-14 20:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-14 20:45 João O'Neill Cortes [this message]
2023-08-15 10:34 ` org-agenda-skip-function not honored by 'tags-tree' custom agenda view 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=PAXP193MB1422AC9BD798DD4E1E93418BA317A@PAXP193MB1422.EURP193.PROD.OUTLOOK.COM \
--to=joaooneillcortes@outlook.pt \
--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).