Setup world clock

This commit is contained in:
Gerard Vermeulen 2024-03-11 18:11:35 +01:00
parent 1c4259a618
commit 61229fd12e

View File

@ -1355,6 +1355,28 @@ execvp("emacsclient", ("-n", payload))
2. [[https://www.hammerspoon.org/][Hammerspoon]]
3. [[https://vritser.github.io/posts/capture-anywhere/][Emacs Capture Anywhere]]
* [[info:emacs#Calendar/Diary][Calendar, Diary, and Time (info)]]
:PROPERTIES:
:CUSTOM_ID: sec:time
:END:
#+caption[Set =world-clock= options]:
#+caption: Set =world-clock= options.
#+name: lst:set-world-clock-options
#+begin_src emacs-lisp -n :results silent
(with-eval-after-load 'time
(setopt world-clock-list
'(("America/Los_Angeles" "Seattle")
("America/New_York" "New York")
("Europe/London" "London")
("Europe/Paris" "Paris")
("Europe/Istanbul" "Istanbul")
("Asia/Jerusalem" "Jerusalem")
("Asia/Singapore" "Singapore")
("Asia/Tokyo" "Tokyo"))
world-clock-time-format "%a %d %b %R %z"))
#+end_src
* Tools to handle buffers and modes
:PROPERTIES:
:CUSTOM_ID: sec:buffer-mode-tools