大家好,我是一个刚刚使用emacs的新人,现在有个问题困扰很久,就是为什么在org-mode中,中文和英文之间一定会有一个空格呢?
我用的doom-emacs
字体配置是参考的论坛的
(setq doom-font (font-spec :family "JetBrains Mono" :size 18)
doom-serif-font (font-spec :family "Noto Serif SC")
;; doom-unicode-font (font-spec :family "Iosevka" :size 14)
doom-variable-pitch-font (font-spec :family "Iosevka")
doom-big-font (font-spec :family "Sarasa Mono Slab SC" :size 23)
ivy-posframe-font (font-spec :family "Iosevka" :size 16))
(defun colawithsauce/set-fonts ()
(set-fontset-font "fontset-default" 'unicode (font-spec :family "Sarasa Fixed Slab SC") nil 'prepend)
(set-fontset-font "fontset-default" 'symbol (font-spec :family "Apple Color Emoji") nil 'prepend))
(add-hook! 'after-setting-font-hook :append 'colawithsauce/set-fonts)