【问题标题】:How to set emacsclient background as Emacs background?如何将emacsclient背景设置为Emacs背景?
【发布时间】:2012-03-05 12:40:51
【问题描述】:

我有(在我的 .emacs 中)

(set-background-color "#101416")
(set-foreground-color "#f6f3e8")

我有 2 个绑定:

alias ex='emacsclient -nw'
alias ec='emacsclient -c -a ""'

ex 可以很好地在终端中打开客户端,但是当我想将它作为框架打开时,我有白色背景:(

为什么以及如何在那里使用我的深色背景?

【问题讨论】:

    标签: linux emacs elisp emacsclient


    【解决方案1】:

    set-background-colorset-foreground-color只影响当前帧,运行emacsclient时不会执行你的.emacs文件。

    尝试设置变量default-frame-alist(“用于创建框架的默认值列表”):

    (setq 默认帧列表 '((背景色。“#101416”) (前景色。“#f6f3e8”)))

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-07-10
      • 2013-11-22
      • 1970-01-01
      • 1970-01-01
      • 2012-09-23
      • 2019-06-13
      • 1970-01-01
      • 2015-09-04
      相关资源
      最近更新 更多