Closed WinterSong closed 1 year ago
You need use emacs -Q
for compare test.
acm don't call unicode-fonts-setup
, it's looks like your config.
seems caused by Emacs 28.2 when resetting unicode fonts, the lag disappears when I switch to Emacs 29...
not sure about whether caused by any recent update, an extreme lag (about 1s) occures frequently when I switch from other app back to Emacs. By using
explain-pause-top
to probe the time cost, I found the main cost comes from commandacm-frame-restore-font
inacm-frame.el
.This method seems to be customized for emacs 30, as described in the comment.
I am not sure if this is a bug related to Mac OS or Doom Emacs. FYI: The configuration of Emacs:
The result of explain-pause-top is as below: