[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: org-agenda-tag-filter-preset: maybe a recent bug?
From: |
Liu Hui |
Subject: |
Re: org-agenda-tag-filter-preset: maybe a recent bug? |
Date: |
Tue, 18 Oct 2022 11:39:27 +0800 |
Hi Garjola,
The preset of filter is not supposed to be used with individual
command. The docstring of 'org-agenda-tag-filter-preset' says:
> The preset filter is a global property of the entire agenda view. In
> a block agenda, it will not work reliably to define a filter for one
> of the individual blocks. You need to set it in the global options
> and expect it to be applied to the entire view.
So you just need to preset the filter in the global options, e.g.
;; multi-block view
("W" "Work Daily Action List"
((agenda ""))
((org-agenda-tag-filter-preset
(quote
("+work")))))
or
("W" "Work Daily Action List"
agenda ""
((org-agenda-tag-filter-preset
(quote
("+work")))))