【问题标题】:emacs customize-face coloremacs custom-face 颜色
【发布时间】:2012-08-06 16:47:45
【问题描述】:

我尝试通过更改字体锁定面的颜色 (M-x customize-face) 来自定义我的 emacs 颜色。 但是我发现颜色的量并没有#xxxxxx的所有值那么多。 例如,将颜色值从#000000 更改为#FF0000 时,我只得到了两种颜色,“红色”和“浅红色”。

这是emacs的极限还是我需要用另一种方式来表达颜色值?

【问题讨论】:

  • 您在终端窗口中使用 Emacs?
  • 是的,我在 Windows 7 cmd 上使用 Emacs,emacs -nw
  • 所以,在没有接触过 Windows 外壳的情况下:它是否允许 256 种颜色或更多?您描述的症状听起来像是一个不真正支持颜色的终端。
  • 是的,你是对的。非常感谢!

标签: emacs colors customization font-lock emacs-faces


【解决方案1】:

显然 Windows shell 不支持颜色。要么获取现代外壳,要么在窗口模式下运行。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2010-09-09
    • 1970-01-01
    • 2014-06-10
    • 2012-03-17
    • 2011-05-11
    • 2014-05-03
    • 2011-03-18
    相关资源
    最近更新 更多