aboutsummaryrefslogtreecommitdiff
path: root/modules/org-agenda-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-09 16:52:49 -0500
committerCraig Jennings <c@cjennings.net>2026-05-09 16:52:49 -0500
commit3ecfe7c1a81ca2c9103b2f89a58f0b426d280cc8 (patch)
tree81f2a3e341dc8866990444a15d79d0cdf4896e21 /modules/org-agenda-config.el
parentcaa94e4482572bb1f30a4c4e6d8166dba9f99448 (diff)
downloaddotemacs-3ecfe7c1a81ca2c9103b2f89a58f0b426d280cc8.tar.gz
dotemacs-3ecfe7c1a81ca2c9103b2f89a58f0b426d280cc8.zip
chore(org-agenda): catch up to chime variable renames
Upstream chime renamed `chime-day-wide-time` to `chime-day-wide-alert-times` (now a list of times rather than a single string), and consolidated `chime-time-left-format-short` / `-long` / `-at-event` into a single `chime-time-left-formats` alist. I updated my config to match. There's no behavior change beyond keeping chime alerts firing on this Emacs.
Diffstat (limited to 'modules/org-agenda-config.el')
-rw-r--r--modules/org-agenda-config.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/org-agenda-config.el b/modules/org-agenda-config.el
index ca543e3e..9205cf1c 100644
--- a/modules/org-agenda-config.el
+++ b/modules/org-agenda-config.el
@@ -382,7 +382,7 @@ This allows a line to show in an agenda without being scheduled or a deadline."
(setq chime-alert-intervals '((5 . medium) (0 . medium)))
;; Day-wide events: notify at 9 AM for birthdays/all-day events
- (setq chime-day-wide-time "09:00")
+ (setq chime-day-wide-alert-times '("09:00"))
;; Modeline display: show upcoming events within 6 hours
(setq chime-modeline-lookahead-minutes (* 6 60))
@@ -395,9 +395,10 @@ This allows a line to show in an agenda without being scheduled or a deadline."
(setq chime-notification-text-format "%t %u")
;; Time-until format: compact style like " in 10m" or " in 1h 37m"
- (setq chime-time-left-format-short " in %mm ") ; Under 1 hour: " in 10m"
- (setq chime-time-left-format-long " in %hh %mm ") ; 1 hour+: " in 1h 37m"
- (setq chime-time-left-format-at-event "now")
+ (setq chime-time-left-formats
+ '((at-event . "now")
+ (short . " in %mm ") ; Under 1 hour: " in 10m"
+ (long . " in %hh %mm "))) ; 1 hour+: " in 1h 37m"
;; Title truncation: limit long event titles to 25 characters
(setq chime-max-title-length 25)