all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* org-agenda-skip-function not honored by 'tags-tree' custom agenda view
@ 2023-08-14 20:45 João O'Neill Cortes
  2023-08-15 10:34 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: João O'Neill Cortes @ 2023-08-14 20:45 UTC (permalink / raw)
  To: emacs-orgmode

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?




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

end of thread, other threads:[~2023-08-15 10:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-14 20:45 org-agenda-skip-function not honored by 'tags-tree' custom agenda view João O'Neill Cortes
2023-08-15 10:34 ` Ihor Radchenko

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.