[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Agenda without todos only if there is no other timestamp
From: |
Ihor Radchenko |
Subject: |
Re: Agenda without todos only if there is no other timestamp |
Date: |
Wed, 04 May 2022 17:20:40 +0800 |
Karl Voit <devnull@Karl-Voit.at> writes:
> I've got following custom agenda for exporting:
>
> | ("n" "no TODO events +180d"
> | ((agenda "no TODO events +180d"
> | ((org-agenda-span 180)
> | (org-agenda-time-grid nil)
> | (org-agenda-entry-types '(:timestamp :sexp))
> | (org-agenda-skip-function
> | '(or
> | (org-agenda-skip-entry-if 'todo 'any);; skip if any TODO
> state is found
> | (org-agenda-skip-entry-if 'category "errors");; skip if any
> TODO state is found
> | (my-skip-tag "lp")
> | )))))
> | nil (,(concat my-org-files-path "agenda_180d_filtered_raw.html")))
> ...
> Tasks should be omitted only if there is no other time-stamp than
> deadline or scheduled.
>
> Any ideas on that one?
(org-agenda-skip-function
'(or
(and (org-agenda-skip-entry-if 'todo 'any);; skip if any TODO state is found
(org-agenda-skip-entry-if 'deadline 'scheduled))
(org-agenda-skip-entry-if 'category "errors");; skip if any TODO state is
found
(my-skip-tag "lp")))
Best,
Ihor