doom-modeline icon indicating copy to clipboard operation
doom-modeline copied to clipboard

[Bug] modeline fragments do not get updated correctly when a command that changes the current-buffer is running

Open molok opened this issue 1 year ago • 0 comments

Thank you for the bug report

  • [X] I am using the latest version of doom-modeline related packages.
  • [X] I checked FAQ.
  • [ ] You may also try reproduce the issue using clean environment and minimal configurations with the command emacs -Q.

Bug description

When a command that changes the current-buffer is running, the modeline does not get updated.

Steps to reproduce

eval ((with-current-buffer (sit-for 10)) and immediately remove the focus from the emacs window, the modeline doesn't change to the inactive color.

Expected behavior

I expect the modeline to be updated when a buffer is being displayed

OS

Linux

Emacs Version

29

Emacs Configurations

Doom Emacs

Error callstack

No response

Anything else

I encountered this bug because I have several scripts running using invoking emacsclient, I noticed that sometimes the modeline stopped updating for few seconds.

molok avatar Feb 07 '24 22:02 molok