Hi Muchenxuan, sorry for the delay. The patch isn't applicable anymore and it has problems too.
Muchenxuan Tong <demon...@gmail.com> writes: > * lisp/org-agenda.el: Introduce a local variable tag-filter to replace > the global variable `org-agenda-tag-filter'. > > This relates to the bug when trying to filter by tag in agenda view with > entry-text shown. In `org-agenda-filter-apply' -> > `org-agenda-entry-text-mode', it shows error when the global variable > `org-agenda-tag-filter' is set. Thus, the variable > `org-agenda-tag-filter' shouldn't be set in advance. > > Modifying the global one will be done anyway in > `org-agenda-filter-apply', which happens after > calling (org-agenda-entry-text-mode). The main problem comes from mixing overlays from hiding entries (through filtering) and from showing entry text. I don't think there is a simple solution to this, but let us know if you find one. Thanks, -- Bastien