From 47cf2453034b6447e65482cc640326735ba93e65 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Fri, 21 Aug 2026 14:27:50 -0700 Subject: fix(weather): ensure xterm-color so the weather buffer renders M-x wttrin died on a missing xterm-color. wttrin declares it in Package-Requires, but nothing here reads that header. The block loads my local checkout with :load-path, and use-package applies use-package-always-ensure only when :load-path is absent. So package.el was never involved and xterm-color never got installed. It came free under the :vc form this replaced, since package-vc resolves requirements. Naming xterm-color explicitly restores it without giving up the checkout. Only the weather buffer broke. The require fires on the render path. The mode line reads the JSON feed and kept working. --- modules/weather-config.el | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'modules/weather-config.el') diff --git a/modules/weather-config.el b/modules/weather-config.el index 84920776..ea137578 100644 --- a/modules/weather-config.el +++ b/modules/weather-config.el @@ -28,6 +28,13 @@ ;; :vc (:url "git@cjennings.net:emacs-wttrin.git" ;; :branch "release/0.4.0" ;; :rev :newest) + ;; wttrin declares xterm-color in its own Package-Requires, but nothing here + ;; reads that header: `:load-path' keeps package.el out of the picture, and + ;; use-package suppresses the `use-package-always-ensure' default whenever + ;; `:load-path' is present. The dependency came free under the `:vc' form + ;; above and stopped when the local checkout took over. Naming the package + ;; here installs it without disturbing the checkout. + :ensure xterm-color :demand t ;; REQUIRED: mode-line must start at Emacs startup :preface ;; Change this to t to enable debug logging -- cgit v1.2.3