Ihor Radchenko writes: >> +(defvar org-agenda-filters-preset nil >> + "Preset of filters, which becomes buffer-local in org-agenda buffers.") > > Can you detail the value format in the docstring? > It would also be useful to mention `org-agenda-local-vars'. Otherwise, > the reader might be confused how `defvar' is buffer-local. Done. > Also, may you create a test for the reported bug in > testing/lisp/test-org-agenda.el? Done. When writing the test, I find the original patch only addresses the case where an entry contains multiple commands. Now the udpated patch can address the case containing one command by changing another global symbol property to per-buffer text property.