【问题标题】:Emacs whitespace mode change color of the textEmacs 空白模式改变文本的颜色
【发布时间】:2018-01-12 20:33:37
【问题描述】:

在 emacs 25.3 中,我启用了“空白”模式,它会改变文本的颜色。 看这个例子,第二行,'private' 现在是灰色的。

你能告诉我如何解决这个问题吗?

【问题讨论】:

  • 请提供从emacs -Q 开始的逐步解决问题的方法(无初始化文件)。说明您在每个步骤中看到的内容以及您希望看到的内容。

标签: emacs whitespace syntax-highlighting


【解决方案1】:

您的队伍似乎过长了。您可能想要执行以下操作之一:

  • whitespace-style 中删除lines
  • 修改whitespace-line人脸
  • 增加whitespace-line-column

通过C-h v whitespace-styleM-x customize-group whitespace 获得更多帮助


作为参考,我的空白配置只是:

(setq whitespace-style '(newline space-mark tab-mark newline-mark))

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2023-02-25
    • 2014-06-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多