emacs-plus on macos is "hanging" after a long time idle
- Dominant language
- Emacs Lisp
- Stars
- 22.7k
- Forks
- 3.1k
- Avg merge
- 10h 46m
- Merged PRs (30d)
- 4
Description
### I confirm that...
- [x] I searched the issue tracker and found no similar issues.
- [x] I searched the [documentation](https://docs.doomemacs.org), [FAQ](https://docs.doomemacs.org/-/faq), [discussion board](https://doomemacs.org/discuss), and [Google](https://google.com) for solutions to my issue.
- [x] I read [the debugging guide](https://doomemacs.org/d/how2debug) and researched the issue to the best of my ability.
- [x] My issue can be observed on the latest available commit of Doom.
- [x] My issue can be observed on a stable release of Emacs (i.e. doesn't end in `.50`, `.60`, or `.90`–`.99`)
### Describe your issue
Over the last ... week or so? I've observed that Emacs is "hanging" when I return focus to it after some amount of time idle. I don't have a concrete lower bound on how long that is, but I've noticed it for certain after a couple of days on one computer, and after a few hours on a sleeping laptop on another.
I have not upgraded emacs itself recently, but I have upgraded Doom to the latest.
The hang manifests as a complete lack of response to any input -- `C-g` repeatedly does nothing, for example -- but not as a macOS "beachball" indicating a frozen application. The window becomes unresponsive to macOS accessibility window management commands, and does not foreground when switched to via the task manager. It can only be brought to the front by way of directly selecting it from the "Mission control" view, or if the window is uncovered.
Force-quit and `pkill -9 Emacs` both serve to kill it. Running emacs again is fine initially, but eventually it hangs again.
### Steps to reproduce
1. Open emacs
2. Wait a while
### System information
https://gist.github.com/offbyone/7fe69ce81e4105a7b272fef69c951c63
Contributor guide
Assessment
This issue has not been assessed yet.