Bastien <b...@gnu.org> writes: > Hi Eric, > > Eric Abrahamsen <e...@ericabrahamsen.net> writes: > >> I'll also note that, while this works perfectly well, every time I >> refresh my custom agenda I see: >> >> Making org-agenda-tag-filter buffer-local while locally let-bound! > > Can you send enough information so that we can reproduce the problem?
Yes, that wasn't a very helpful report, was it? First of all, here's the custom command I'm using, to organize an upcoming trip to New York: ("n" "New York Feb 2020" ((tags-todo "nyfeb2020") (agenda "is this string meaningless?" ((org-agenda-start-day "2020-02-25") (org-agenda-span 15)))) ((org-agenda-tag-filter '("+nyfeb2020")))) I edebug `org-agenda-redo', and hit "g". In this function, `org-agenda-tag-filter' is nil. I don't know if it's supposed to be or not, but it is. The error arises out of `org-agenda-run-series', so we go there, and find it comes from `org-let': (let ((org-agenda-tag-filter '("+nyfeb2020"))) (org-agenda-prepare name)) `org-agenda-run-series' gets called twice every time I update the agenda; the error only arises from the first time. The `org-agenda-tag-filter' variable is buffer-local to my custom agenda, which is why Emacs complains that it's being let-bound. I don't see where `org-agenda-tag-filter' is made buffer-local. I hope that helps! Eric