Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

sort-tab 导致 doom emacs 布局崩溃 #24

Open
ZcyhFromC opened this issue Feb 18, 2025 · 1 comment
Open

sort-tab 导致 doom emacs 布局崩溃 #24

ZcyhFromC opened this issue Feb 18, 2025 · 1 comment

Comments

@ZcyhFromC
Copy link

我使用的版本:

EndeavourOS
Emacs 29.4 (arch linux 上 aur 里本地编译版)
Doom core     v3.0.0-pre       grafted, HEAD -> master, origin/master, origin/HEAD 2bc0524 2025-01-14 13:57:18 -0500
Doom modules  v25.02.0-pre     grafted, HEAD -> master, origin/master, origin/HEAD 2bc0524 2025-01-14 13:57:18 -0500 

在用户设置文件 config.el 里:

...
;; 整理 tab
(require 'sort-tab)
(sort-tab-mode)

保存重启后会导致 M-x 等小窗口无法正常地调整大小,报错:

[yas] Check your `yas-snippet-dirs': /home/whizhuii/.config/doom/snippets/ is not a directory
[yas] Prepared just-in-time loading of snippets with some errors.  Check *Messages*.
Error in post-command-hook (vertico--exhibit): (error "Cannot resize mini window")
Quit
window-resize: Failed to apply resizing #<window 9 on *Messages*>

布局混乱的效果:

Image

@manateelazycat
Copy link
Owner

用 emacs -Q 对比测试, 大概率是 doom emacs 的问题

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants