Hi. Since version org-plus-contrib-20200302, my agenda is buggy. The bug did not occur in previous versions. To reproduce the bug:
1. Move away your .emacs.d, so that Emacs starts with a pristine configuration. 2. Start Emacs and eval the following Elisp: --8<---------------cut here---------------start------------->8--- (setq package-archives '(("org" . "https://orgmode.org/elpa/") ("gnu" . "https://elpa.gnu.org/packages/"))) (setq org-agenda-custom-commands '(("w" "Buggy" ((tags "now" nil)) ((org-agenda-tag-filter-preset '("+@w" "-dummy")))))) (setq org-agenda-files '("~/unison/report_org-agenda_bug/report_org_bug.org")) (setq org-tag-alist '(("now" . ?n) ("dummy") ("@w" . ?w))) --8<---------------cut here---------------end--------------->8--- 3. Install the latest org-plus-contrib package. 4. Write to ~/unison/report_org-agenda_bug/report_org_bug.org the following text: --8<---------------cut here---------------start------------->8--- * This entry should not appear in the agenda :now: --8<---------------cut here---------------end--------------->8--- 5. Execute M-x org-agenda RET w 6. Note that the offending entry does appear in the agenda. It should not appear, since it lacks the "@w" tag -- see the value of org-agenda-tag-filter-preset. This occurred in an updated Emacs 27 snapshot (guix package emacs-next). Regards ------------------------------------------------------------------------ Emacs : GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.13) Package: Org mode version 9.3.6 (9.3.6-19-gf360f9-elpaplus @ /home/jorge/.config/emacs/elpa/27.0/develop/org-plus-contrib-20200302/) -- - <https://jorgemorais.gitlab.io/justice-for-rms/> - I am Brazilian. I hope my English is correct and I welcome feedback. - Free Software Supporter: <https://www.fsf.org/free-software-supporter/subscribe>