Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX 28: emacs is freezed at switch #31

Merged
merged 6 commits into from
Apr 20, 2024
Merged

Conversation

guidoschmidt
Copy link
Owner

@guidoschmidt guidoschmidt commented Apr 19, 2024

Should fix #28. Moved check for an already enabled theme to (circadian-activate-latest-theme)

@guidoschmidt guidoschmidt linked an issue Apr 19, 2024 that may be closed by this pull request
@guidoschmidt guidoschmidt merged commit ed24f8d into main Apr 20, 2024
4 checks passed
@guidoschmidt guidoschmidt deleted the 28-emacs-is-freezed-at-switch branch April 20, 2024 15:17
guidoschmidt added a commit that referenced this pull request Jun 3, 2024
* Create FUNDING.yml

* PERF/circadian.el: use memoized sunset & sunrise times (#29)

* Update issue templates

* EDIT: ignore :sunrise and :sunset, if calendar lat/lng settings are missing

* FIX: correct testing, filter :sunrise and :sunset if calendar lat/lng is not set

* FIX/test.el: re-enable test-circadian-setup-benchmark

* FIX/test.el: move timezone test to the end as it changes lat lng

* EDIT: check for theme lists to support #16

* FIX/test.el: typo

* FIX 28: emacs is freezed at switch (#31)

* EDIT/circadian.el: add print statement to circadian-activate-latest-theme

* FIX: potential fix for #28

* FIX/test.el: move timezone test to end

* EDIT/.github/workflows/ci.yml: drop Emacs 26.3 support

* EDIT/circadian.el: moved check for already enabled theme from `circadian-enable-theme` to `circadian-activate-latest-theme`

* EDIT: cleanup

* FIX: after merge

* FIX: remove print statements, make sure timer runs only once

* FIX: timer issue + rename circadian-activate-latest-theme to circadian-activate

* FIX/circadian.el: proper use of new `circadian-activate-and-schedule`

* FIX/test.el: adjust tests to use new API

* DOC/README.md: adjust usage section

* DOC/README.md

* FIX: use format-time-string

* FIX: improve timer scheduling

* FIX: wrong function in timer

* FIX: solve recursive timer calls with timer variable + cancel-timer

* FIX/DOC/README.md: proper inner list for random selection from theme list

* FIX: endless loop #33 + code cleanup, adjust tests

* EDIT: introduce circadian-verbose + circadian-stop

* FIX: cleanup, remove circadian-- prefix in favor of single dash prefix

* FIX: disable-theme only if requested theme is not part of custom-enabled-themes

* FIX: check if next run is today or tomorrow

* EDIT/test.el: extend test-circadian-time-comparisons

* FIX/circadian.el: ensure a single timer + timer is always set

* EDIT/README.md: hint about `circadian-verbose`

* FIX #32: proper time zone settings according to Emacs documentation

* EDIT/circadian.el: remove print statement

* FIX/test.el

* UPGRADE/.github: upgrade actions/checkout + actions/cache to version 4

* FIX/circadian.el: check for timer nil + enable theme -> set timer to nil

* FIX/circadian.el: proper canceling of previous timer

* EDIT/circadian.el: update version in comment

---------

Co-authored-by: StrawberryTea <luneth1314@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Emacs is freezed at switch
1 participant