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
Emacs is freezed at switch #28
Comments
Same here. When it happens, the process is spinning with 100% CPU utlization. |
Hey thanks for reporting, unfortunatelly I'm tend to get behind maintaining circadian.el. If one of you feels keen enough to debug this, it would be highly appreciated. |
Cool idea, but emacs just freezes for minutes every time we switch. See guidoschmidt/circadian.el#28.
Mine didn't freeze, but Emacs was super-slow for a while. I caught the reason with a profiler (so nice to have the profiler on a hotkey!): 57% CPU on When Emacs was snappy again, I noted the time was 18:01. So perhaps it keeps running for the whole minute? Test specifying the time as 18:00:00 instead of just 18:00. |
I found something interesting, it seems that Emacs' That may or may not be related. If it is, the source of the error must be that circadian is re-scheduling the same theme until the clock is definitely greater. I propose changing the little |
same here. It's cause huge issue in CPU usage on windows. |
If you haven't been able to maintain the package, would you mind if I step up as a maintainer? I've been using this package for almost more than an year and would rather not let this die. |
@divyaranjan1905 happy to accept pull requests or even simple findings here in the ticket. I'm just updating my Windows Emacs to 29.3 now and will test a bit + see how it behaves on my Macbook. |
Ok changing this to Line 105 in 06f3cda
I also couldn't yet reproduce high CPU usage on my macOS system 😢 ... I think we first need to find a reliable way to reproduce this bug (+ which Emacs version on which OS) |
Indeed it looks like |
* 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
Your last release reintroduced the freeze with Emacs 29.3. Other than using a kill command, nothing is possible via Emacs mini buffer. There is a continues update about the next run time in the minibuffer making it unusable. |
It does not freeze for me. Emacs 30.0.50. Although it does complain about calendar-latitude and longitude, even though my |
Hello!
I have a problem - Emacs is completely freezed while swithing process. Theme is swithed but Emacs doesn't respond at all.
Related config:
Full config
appkit-2299.50 Version 13.3.1 (a) (Build 22E772610a)) of 2023-05-04
MacOS 13.4.1 (22F82)
Circadian: 52e336d
Ef-themes: 27bf0ff4d9218c382fbaa512efb754f19b667678
cairo version 1.16.0) of 2023-06-04
Ubuntu 20.04.6 LTS
Circadian: 52e336d
Ef-themes: 27bf0ff4d9218c382fbaa512efb754f19b667678
The text was updated successfully, but these errors were encountered: