From ce396bd2683b0ca4e11279af73f8e733dc16ddc6 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 9 Jul 2026 16:08:47 -0500 Subject: fix: inject the lookahead variables into the async fetch child The child sizes its agenda span from chime-modeline-lookahead-minutes and chime-tooltip-lookahead-hours, but neither was in chime-default-environment-regex. The child requires chime, so both were bound there at their defaults. Customizing either did nothing past the default eight days, with no error to explain why. The tooltip docstring invites 8760 hours to see distant events, and that setting was inert. I added both names to the injected set. The test that matters walks the child form and fails on any chime defcustom it reads that the regex doesn't cover, so a variable added to the child later can't reintroduce this quietly. Its companions pin the regex's anchoring and the additional-regexes extension point. --- chime.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'chime.el') diff --git a/chime.el b/chime.el index dc74a8f..56fd9d1 100644 --- a/chime.el +++ b/chime.el @@ -1839,7 +1839,13 @@ because that is what real org-gcal exports use." "org-todo-keywords" "chime-alert-intervals" "chime-include-filters" - "chime-exclude-filters"))) + "chime-exclude-filters" + ;; The child sizes its agenda span from these two. The + ;; child requires chime, so an uninjected one is bound at + ;; its default there and a user's customization is + ;; silently ignored rather than erroring. + "chime-modeline-lookahead-minutes" + "chime-tooltip-lookahead-hours"))) string-end))) (defun chime--environment-regex () -- cgit v1.2.3