当我使用
通常情况下,当启动emacs并使用
以下是相关代码:
(custom-set-faces '(default ((t (:inherit nil :stipple nil :background "black" :foreground "white" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 120 :width normal :foundry "unknown" :family "Inconsolata")))))
emacsclient -c
命令时,出现了无法加载颜色“unspecified-bg”[16次]
的错误。我已经使用emacs --daemon
启动了emacs。这似乎意味着我的自定义面板不会加载。通常情况下,当启动emacs并使用
M-x server-start
时,就不会出现这个问题。我该如何让emacsclient -c
正确加载面板?以下是相关代码:
(custom-set-faces '(default ((t (:inherit nil :stipple nil :background "black" :foreground "white" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 120 :width normal :foundry "unknown" :family "Inconsolata")))))
M-x customize-face RET default
来打开默认面。那里的值似乎没有改变。如果我更改它们,然后保存所有会话,我可以启动使用这些设置的新客户端窗口。然而,如果我重新启动emacs守护进程,我会得到通常的错误。奇怪的是,因为所有编辑面似乎只是编辑.emacs,以便它包含新的设置。 - heuristicus