emacs慢这锅不能是emacs自己背了

可以切到eaf的buffer,会有报错提示

我在 emacs 下运行 eaf-install-and-update 和在终端里运行 chmod +x ./install-eaf.py ./install-eaf.py,反馈如下消息,应该是依赖已经装了:

[EAF] Installing core dependencies
[EAF] Running pip3 install --user --break-system-packages -U epc sexpdata==1.0.0 tld lxml mac-app-frontmost PyQt6==6.5.0 PyQt6-Qt6==6.5.0 PyQt6-sip PyQt6-WebEngine==6.5.0 PyQt6-WebEngine-Qt6==6.5.0 @ /Users/chenyibin/.emacs.d/lisp/eaf
Requirement already satisfied: epc in /Users/chenyibin/Library/Python/3.13/lib/python/site-packages (0.0.5)
Requirement already satisfied: sexpdata==1.0.0 in /Users/chenyibin/Library/Python/3.13/lib/python/site-packages (1.0.0)
Requirement already satisfied: tld in /Users/chenyibin/Library/Python/3.13/lib/python/site-packages (0.13)
Requirement already satisfied: lxml in /Users/chenyibin/Library/Python/3.13/lib/python/site-packages (5.3.0)

Requirement already satisfied: mac-app-frontmost in /Users/chenyibin/Library/Python/3.13/lib/python/site-packages (2020.12.3)

Requirement already satisfied: PyQt6==6.5.0 in /Users/chenyibin/Library/Python/3.13/lib/python/site-packages (6.5.0)

Requirement already satisfied: PyQt6-Qt6==6.5.0 in /Users/chenyibin/Library/Python/3.13/lib/python/site-packages (6.5.0)

Requirement already satisfied: PyQt6-sip in /Users/chenyibin/Library/Python/3.13/lib/python/site-packages (13.8.0)

Requirement already satisfied: PyQt6-WebEngine==6.5.0 in /Users/chenyibin/Library/Python/3.13/lib/python/site-packages (6.5.0)

Requirement already satisfied: PyQt6-WebEngine-Qt6==6.5.0 in /Users/chenyibin/Library/Python/3.13/lib/python/site-packages (6.5.0)

你这这是安装了核心, 应用的依赖没有安装吧, 看看 *eaf* 啥内容?

应用依赖太长就不发上来了,都显示 Already up to date.

*eaf* buffer 啥内容? 但是我觉得不应该在这个帖子下歪楼, 你要不是 python 依赖没有装, 要不就是 npm install ; npm run build 没有执行。

非常赞同。

Doom 的做法实际有点自欺欺人。虽然启动时间数字很好看,却并没有真正解决问题,而是把卡顿碎片化了,导致用户在启动之后的很长时间内,不断遭遇短暂的卡顿。

归根到底还是 Emacs 本身的问题,不能把锅扣给某个配置和包。即使快如 lsp-bridge,仍受累于 Emacs 简单粗暴的绘图机制,丝滑度(不是速度)比起 VSCode 还是略逊一点点,时不时能看到画面闪烁。

想要流畅必须优先响应用户输入,即使数据没准备好,也不该阻断用户操作。用户按下按键,最重要的是先把按键结果体现在屏幕上,不管是输入字符还是移动光标,补全项有没有准备好、画面有没有渲染完都在其次。

6 个赞