- Avoid redundant theme-loading: checking whether a desired theme is already
loaded in
circadian-enable-theme
.run-at-time
did fire whencircadian-setup
has already been overdue (e.g. during system hibernation). Big kudos to @tangxinfa for the pull request. - Fix #25: fixes wrong behavior when using time strings
- Fix #27: prompts error when (solar-sunrise-sunset (calendar-current-date)) returns nil for requsted sunrise/sunset times
- Error messages in
circadian-match-sun
if sunset or sunrise could not be parsed due to time zone settings. Timezone issues should be checked/evaluated in future development and versions.
- Add theme loading hooks:
circadian-before-load-theme-hook
andcircadian-after-load-theme-hook
- Implement configuration with keywords
:sunrise
and:sunset
- Rename
circadian-mapcar
tocircadian-mapc
- Fixed time-comparison bug in
in
circadian-compare-time-strings
- Renamed
circadian-compare-time-strings
to more appropriate name:circadian-a-earlier-b-p
- Use -- lexical-binding: t --
- Requiring cl-lib
- Prefixed cl function like
cl-first',
cl-remove-if' mapcar' ->
mapc'- Swapped argument order for `circadian-filter-inactivate-themes'
- Bugfix: load the last theme from `circadian-themes', when the first time slot lies in the future
- Added testing (+ configuration for travis CI)
- Changed arguments of
circadian-filter-inactivate-themes' to accept the current time string + themes asoc list due to gain testability of that function with various time strings (see
tests/').
- Add function to load the latest overdue theme to `circadian-setup'
- nyx-theme and hemera-theme live in their own repos from now on: nyx: https://github.com/GuidoSchmidt/emacs-nyx-theme hemera: https://github.com/GuidoSchmidt/emacs-hemera-theme
- Use default themes for default configuration of `circadian-themes'
- Re-implemented configuration using associated list and timers (thanks to Steve Purcell for pointing me into this direction)
- Initial release
- Variables for day/night hour
- Themes included: hemera-theme, nyx-theme