可以通过设置窗口局部变量 cursor-type 的值来修改光标的样式。
(setq cursor-type '(hbar . 1))
如何让所有现有和未来的窗口使用相同的光标类型?
emacs cursor text-cursor
cursor ×1
emacs ×1
text-cursor ×1