【问题标题】:Background/foreground color problem on Emacs on WindowsWindows 上 Emacs 上的背景/前景色问题
【发布时间】:2010-09-24 22:38:38
【问题描述】:

我在 Windows 上使用 Emacs。

在我的 .emacs 文件中,我更改了背景和前景色。

当我打开 Emacs 时,颜色发生了变化。

但是当我使用C-x 5 2打开一个新框架时,颜色没有发生变化。

为什么?

【问题讨论】:

  • 你究竟是如何改变背景和前景色的?
  • 您应该查看颜色主题:gna.org/projects/color-theme - 它在 Windows 上运行良好,并且不仅仅改变背景和前景色。
  • @Trey:我有两行:(set-background-color "black")(set-foreground-color "white")
  • Yang Yah,你设置了颜色,但不是默认颜色。无时无刻不在发生。

标签: windows emacs


【解决方案1】:

这就是我的做法:

(setq default-frame-alist
       `((background-color . "darkslateblue")
         (foreground-color . "lightcyan")))

【讨论】:

    猜你喜欢
    • 2017-11-03
    • 1970-01-01
    • 2012-07-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多