- 我是一个emacs 新手,碰见一个问题,我在使用seagle0218的配置,使用cnfonts来修复org中英文表格对齐, 我没有使用cnfonts package,是设置的
set-face-attribute
.
1 ;; Auto generated by cnfonts
2 ;; <https://github.com/tumashu/cnfonts>
3 (set-face-attribute
4 'default nil
5 :font (font-spec :name "-PfEd-DejaVu Sans Mono-bold-oblique-normal-*-*-*-*-*-m-0-iso10646-1"
6 :weight 'normal
7 :slant 'normal
8 :size 10.0))
9 (dolist (charset '(kana han symbol cjk-misc bopomofo))
10 (set-fontset-font
11 (frame-parameter nil 'font)
12 charset
13 (font-spec :name "-WQYF-文泉驿等宽微米黑-normal-normal-normal-*-*-*-*-*-*-0-iso10646-1"
14 :weight 'normal
15 :slant 'normal
16 :size 12.0)))
17
我在终端中启动emacs,能正常使用无错误,使用–debug–init也没有任何错误,但是使用emacsclient -a '' -nqc
一直卡在 loading /home/xx/.emacs.d/custom-post.el (sources…)
- 在配置包的是后必须要使用(require 'xx)引入吗,我在安装pyim时, 没有使用require,就不能设置default-input-method