Michael Brand <michael.ch.br...@gmail.com> writes: > How is it possible to skip SCHEDULED items that don't have the > property STYLE=habit in the day-agenda of a custom agenda view? > > What I checked so far: > - ((org-agenda-entry-types '(:scheduled))): > does not distinguish between habits and non-habits > - "match" from (key desc type match settings files): > not available for "type" agenda AFAIK > - org-agenda-skip-function: not available for type agenda AFAIK
Good news: the skip function does apply to agenda views. It provides a means to do simple filtering in the agenda, which does not use the match syntax of org-tags-view. > - day-agenda block for :scheduled _habits_ only > (skip of non-habits not solved yet) Here's a sample implementation (in a single custom agenda command): --8<---------------cut here---------------start------------->8--- (org-add-agenda-custom-command '("x" "Agenda (habits only)" agenda "" ((org-agenda-entry-types '(:scheduled)) (org-agenda-skip-function '(org-agenda-skip-entry-if 'notregexp ":STYLE:.*habit"))))) --8<---------------cut here---------------end--------------->8--- Best, Matt