diff options
| author | Craig Jennings <c@cjennings.net> | 2026-08-21 14:27:50 -0700 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-08-21 14:27:50 -0700 |
| commit | 47cf2453034b6447e65482cc640326735ba93e65 (patch) | |
| tree | 4855891b0ae2380d5619cc168078d69c2e5e60f6 | |
| parent | 85aaeb06003c0dbccbfb199d07c94af211585e1f (diff) | |
| download | dotemacs-47cf2453034b6447e65482cc640326735ba93e65.tar.gz dotemacs-47cf2453034b6447e65482cc640326735ba93e65.zip | |
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.
| -rw-r--r-- | modules/weather-config.el | 7 |
1 files changed, 7 insertions, 0 deletions
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 |
