| Age | Commit message (Collapse) | Author |
|
Critical bug fix: On fresh Emacs launch, weather displayed with only
double quotes colored blue, all other text white. Pressing 'g' to
refresh brought colors back.
Root cause: wttrin-mode (derived mode) calls kill-all-local-variables
internally. The code was setting xterm-color--state buffer-local BEFORE
calling wttrin-mode, so the state was immediately wiped out. On refresh,
the mode was already active (no-op), so the state survived.
Fix: Call wttrin-mode FIRST, then set buffer-local variables after.
This ensures kill-all-local-variables runs before we set any state.
Changes:
- Reorder initialization in wttrin--display-weather (wttrin.el:277-285)
- Add regression tests for mode initialization order (2 new tests)
Test results: 65 tests, all passing
|
|
Simplify Emacs Lisp configuration using `:vc` keyword for Wttrin
installation and update.
|
|
Introduce mode-line weather display in README.org. Add setup,
features, and customization instructions, enabling users to show
weather updates directly in the mode-line with automatic refresh and
interactive options.
|
|
Make asynchronous loading the only mode of operation. It's well tested
and doesn't lock up Emacs during fetching. Synchronous loading code has been removed.
|
|
Add a note for Emacs 29+ users about using `setopt` for type
checking. Include sections on asynchronous loading and cache
settings under advanced settings, providing customization options
for Wttrin's behavior.
|
|
Include detailed steps for installing Wttrin using package-vc in
Emacs 30 or later.
|
|
- fix numbering mistake
- swap package installation ordering
- word tweaking, probably born out of procrastination
|
|
|
|
- moved the format from markdown to org
- much better text IMHO
- badges and sections and pictures oh my!
|