diff options
| author | Craig Jennings <c@cjennings.net> | 2025-11-11 17:41:40 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-11-11 17:42:30 -0600 |
| commit | 23b3df60eb619351fada7b83c9646c86e1addbd2 (patch) | |
| tree | 0bd49837f99b0ca77fd2c12affd58ed492f70737 /modules | |
| parent | 72537381b5d98c6295c999bdec3c39ec0a7e3d42 (diff) | |
chrono-tools: integrate and test time-zones package
Replaced the world-clock configuration with the new time-zones
package to provide an interactive world clock with fuzzy search and
time shifting features. The previous world-clock code is commented
out for potential fallback testing.
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/chrono-tools.el | 46 |
1 files changed, 27 insertions, 19 deletions
diff --git a/modules/chrono-tools.el b/modules/chrono-tools.el index e68c2a50..9929bad5 100644 --- a/modules/chrono-tools.el +++ b/modules/chrono-tools.el @@ -5,7 +5,7 @@ ;; ;; This module centralizes configuration for Emacs time-related tools: ;; -;; – world-clock: predefined city list and custom time format +;; – time-zones: interactive world clock with fuzzy search and time shifting ;; – calendar: quick navigation keybindings by day, month, and year ;; – tmr: lightweight timer setup with sounds, notifications, and history ;; @@ -13,24 +13,32 @@ (require 'user-constants) -(use-package time - :ensure nil ;; built-in - :defer 0.5 - :bind ("C-x c" . world-clock) - :config - (setq world-clock-list - '(("Pacific/Honolulu" " Honolulu") - ("America/Los_Angeles" " San Francisco, LA") - ("America/Chicago" " Chicago, New Orleans") - ("America/New_York" " New York, Boston") - ("Etc/UTC" " UTC =================") - ("Europe/London" " London, Lisbon") - ("Europe/Paris" " Paris, Berlin, Rome") - ("Europe/Athens" " Athens, Istanbul, Moscow") - ("Asia/Kolkata" " India") - ("Asia/Shanghai" " Shanghai, Singapore") - ("Asia/Tokyo" " Tokyo, Seoul"))) - (setq world-clock-time-format " %a, %d %b @ %I:%M %p %Z")) +;; -------------------------------- Time Zones --------------------------------- + +(use-package time-zones + :defer + :commands time-zones + :bind ("C-x c" . time-zones)) + +;; Commented out old world-clock config while testing time-zone package above +;; (use-package time +;; :ensure nil ;; built-in +;; :defer 0.5 +;; :bind ("C-x c" . world-clock) +;; :config +;; (setq world-clock-list +;; '(("Pacific/Honolulu" " Honolulu") +;; ("America/Los_Angeles" " San Francisco, LA") +;; ("America/Chicago" " Chicago, New Orleans") +;; ("America/New_York" " New York, Boston") +;; ("Etc/UTC" " UTC =================") +;; ("Europe/London" " London, Lisbon") +;; ("Europe/Paris" " Paris, Berlin, Rome") +;; ("Europe/Athens" " Athens, Istanbul, Moscow") +;; ("Asia/Kolkata" " India") +;; ("Asia/Shanghai" " Shanghai, Singapore") +;; ("Asia/Tokyo" " Tokyo, Seoul"))) +;; (setq world-clock-time-format " %a, %d %b @ %I:%M %p %Z")) (use-package calendar :ensure nil ;; built-in |
